/*
//
//                  INTEL CORPORATION PROPRIETARY INFORMATION
//     This software is supplied under the terms of a license agreement or
//     nondisclosure agreement with Intel Corporation and may not be copied
//     or disclosed except in accordance with the terms of that agreement.
//          Copyright(c) 2003-2007 Intel Corporation. All Rights Reserved.
//
//     Intel Integrated Performance Primitives AAC Encode Sample for Windows*
//
//  By downloading and installing this sample, you hereby agree that the
//  accompanying Materials are being provided to you under the terms and
//  conditions of the End User License Agreement for the Intel Integrated
//  Performance Primitives product previously accepted by you. Please refer
//  to the file ippEULA.rtf or ippEULA.txt located in the root directory of your Intel IPP
//  product installation for more information.
//
//  MPEG-4 and AAC are international standards promoted by ISO, IEC, ITU, ETSI
//  and other organizations. Implementations of these standards, or the standard
//  enabled platforms may require licenses from various entities, including
//  Intel Corporation.
//
*/

#include "umc_defs.h"

#if defined (UMC_ENABLE_AAC_AUDIO_ENCODER) || defined (UMC_ENABLE_AAC_INT_AUDIO_ENCODER)

#include "ippac.h"
#include "ipps.h"
#include "aac_enc_huff_tables.h"
#include <stdlib.h>
#include "ippdc.h"
#include "aac_status.h"

Ipp32s vlcEncShifts[] = {
  0, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 6
};

Ipp32s vlcEncOffsets[] = {
  0, 2, 2, 4, 4, 8, 8, 8, 8, 16, 16, 16
};

Ipp32s vlcEncTypes[]= {
  3, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2
};

Ipp32s vlcEncTableSizes[] = {
  121 /*sf_book */, 81, 81, 625, 625, 81, 81, 225, 225, 625, 625, 1089
};

static IppsVLCTable_32s sf_book[] = {
  {   60, 0x00000000,  1},  {   59, 0x00000004,  3},
  {   58, 0x0000000b,  4},  {   61, 0x0000000a,  4},
  {   62, 0x0000000c,  4},  {   57, 0x0000001a,  5},
  {   63, 0x0000001b,  5},  {   55, 0x0000003a,  6},
  {   56, 0x00000038,  6},  {   64, 0x00000039,  6},
  {   65, 0x0000003b,  6},  {   54, 0x00000079,  7},
  {   66, 0x00000078,  7},  {   67, 0x0000007a,  7},
  {   51, 0x000000fa,  8},  {   52, 0x000000f8,  8},
  {   53, 0x000000f6,  8},  {   68, 0x000000f7,  8},
  {   69, 0x000000f9,  8},  {   49, 0x000001f8,  9},
  {   50, 0x000001f7,  9},  {   70, 0x000001f6,  9},
  {   71, 0x000001f9,  9},  {   46, 0x000003f9, 10},
  {   47, 0x000003f7, 10},  {   48, 0x000003f5, 10},
  {   72, 0x000003f4, 10},  {   73, 0x000003f6, 10},
  {   74, 0x000003f8, 10},  {   43, 0x000007f9, 11},
  {   45, 0x000007f8, 11},  {   75, 0x000007f5, 11},
  {   76, 0x000007f4, 11},  {   77, 0x000007f6, 11},
  {   78, 0x000007f7, 11},  {   40, 0x00000ff9, 12},
  {   41, 0x00000ff7, 12},  {   42, 0x00000ff6, 12},
  {   44, 0x00000ff4, 12},  {   79, 0x00000ff5, 12},
  {   80, 0x00000ff8, 12},  {   38, 0x00001ff7, 13},
  {   39, 0x00001ff5, 13},  {   81, 0x00001ff4, 13},
  {   82, 0x00001ff6, 13},  {   83, 0x00001ff8, 13},
  {   32, 0x00003ff9, 14},  {   33, 0x00003ff5, 14},
  {   34, 0x00003ff7, 14},  {   35, 0x00003ff3, 14},
  {   36, 0x00003ff6, 14},  {   37, 0x00003ff2, 14},
  {   84, 0x00003ff8, 14},  {   85, 0x00003ff4, 14},
  {   30, 0x00007ff6, 15},  {   31, 0x00007ff7, 15},
  {   87, 0x00007ff4, 15},  {   89, 0x00007ff5, 15},
  {   24, 0x0000fff5, 16},  {   26, 0x0000fff2, 16},
  {   27, 0x0000fff3, 16},  {   28, 0x0000fff4, 16},
  {   29, 0x0000fff1, 16},  {   86, 0x0000fff0, 16},
  {   88, 0x0000fff6, 16},  {   22, 0x0001ffef, 17},
  {   23, 0x0001fff0, 17},  {   25, 0x0001ffee, 17},
  {    0, 0x0003ffe8, 18},  {    1, 0x0003ffe6, 18},
  {    2, 0x0003ffe7, 18},  {    3, 0x0003ffe5, 18},
  {   19, 0x0003ffe4, 18},  {   21, 0x0003ffe3, 18},
  {   90, 0x0003ffe2, 18},  {    4, 0x0007fff5, 19},
  {    5, 0x0007fff1, 19},  {    6, 0x0007ffed, 19},
  {    7, 0x0007fff6, 19},  {    8, 0x0007ffee, 19},
  {    9, 0x0007ffef, 19},  {   10, 0x0007fff0, 19},
  {   11, 0x0007fffc, 19},  {   12, 0x0007fffd, 19},
  {   13, 0x0007ffff, 19},  {   14, 0x0007fffe, 19},
  {   15, 0x0007fff7, 19},  {   16, 0x0007fff8, 19},
  {   17, 0x0007fffb, 19},  {   18, 0x0007fff9, 19},
  {   20, 0x0007fffa, 19},  {   91, 0x0007ffd9, 19},
  {   92, 0x0007ffda, 19},  {   93, 0x0007ffdb, 19},
  {   94, 0x0007ffdc, 19},  {   95, 0x0007ffdd, 19},
  {   96, 0x0007ffde, 19},  {   97, 0x0007ffd8, 19},
  {   98, 0x0007ffd2, 19},  {   99, 0x0007ffd3, 19},
  {  100, 0x0007ffd4, 19},  {  101, 0x0007ffd5, 19},
  {  102, 0x0007ffd6, 19},  {  103, 0x0007fff2, 19},
  {  104, 0x0007ffdf, 19},  {  105, 0x0007ffe7, 19},
  {  106, 0x0007ffe8, 19},  {  107, 0x0007ffe9, 19},
  {  108, 0x0007ffea, 19},  {  109, 0x0007ffeb, 19},
  {  110, 0x0007ffe6, 19},  {  111, 0x0007ffe0, 19},
  {  112, 0x0007ffe1, 19},  {  113, 0x0007ffe2, 19},
  {  114, 0x0007ffe3, 19},  {  115, 0x0007ffe4, 19},
  {  116, 0x0007ffe5, 19},  {  117, 0x0007ffd7, 19},
  {  118, 0x0007ffec, 19},  {  119, 0x0007fff4, 19},
  {  120, 0x0007fff3, 19}
};

static IppsVLCTable_32s spec_book1[] = {
  {  -43, 0x000007f8, 11},  {  -42, 0x000001f1,  9},
  {  -41, 0x000007fd, 11},  {  -39, 0x000003f5, 10},
  {  -38, 0x00000068,  7},  {  -37, 0x000003f0, 10},
  {  -35, 0x000007f7, 11},  {  -34, 0x000001ec,  9},
  {  -33, 0x000007f5, 11},  {  -27, 0x000003f1, 10},
  {  -26, 0x00000072,  7},  {  -25, 0x000003f4, 10},
  {  -23, 0x00000074,  7},  {  -22, 0x00000011,  5},
  {  -21, 0x00000076,  7},  {  -19, 0x000001eb,  9},
  {  -18, 0x0000006c,  7},  {  -17, 0x000003f6, 10},
  {  -11, 0x000007fc, 11},  {  -10, 0x000001e1,  9},
  {   -9, 0x000007f1, 11},  {   -7, 0x000001f0,  9},
  {   -6, 0x00000061,  7},  {   -5, 0x000001f6,  9},
  {   -3, 0x000007f2, 11},  {   -2, 0x000001ea,  9},
  {   -1, 0x000007fb, 11},  {   21, 0x000001f2,  9},
  {   22, 0x00000069,  7},  {   23, 0x000001ed,  9},
  {   25, 0x00000077,  7},  {   26, 0x00000017,  5},
  {   27, 0x0000006f,  7},  {   29, 0x000001e6,  9},
  {   30, 0x00000064,  7},  {   31, 0x000001e5,  9},
  {   37, 0x00000067,  7},  {   38, 0x00000015,  5},
  {   39, 0x00000062,  7},  {   41, 0x00000012,  5},
  {   42, 0x00000000,  1},  {   43, 0x00000014,  5},
  {   45, 0x00000065,  7},  {   46, 0x00000016,  5},
  {   47, 0x0000006d,  7},  {   53, 0x000001e9,  9},
  {   54, 0x00000063,  7},  {   55, 0x000001e4,  9},
  {   57, 0x0000006b,  7},  {   58, 0x00000013,  5},
  {   59, 0x00000071,  7},  {   61, 0x000001e3,  9},
  {   62, 0x00000070,  7},  {   63, 0x000001f3,  9},
  {   85, 0x000007fe, 11},  {   86, 0x000001e7,  9},
  {   87, 0x000007f3, 11},  {   89, 0x000001ef,  9},
  {   90, 0x00000060,  7},  {   91, 0x000001ee,  9},
  {   93, 0x000007f0, 11},  {   94, 0x000001e2,  9},
  {   95, 0x000007fa, 11},  {  101, 0x000003f3, 10},
  {  102, 0x0000006a,  7},  {  103, 0x000001e8,  9},
  {  105, 0x00000075,  7},  {  106, 0x00000010,  5},
  {  107, 0x00000073,  7},  {  109, 0x000001f4,  9},
  {  110, 0x0000006e,  7},  {  111, 0x000003f7, 10},
  {  117, 0x000007f6, 11},  {  118, 0x000001e0,  9},
  {  119, 0x000007f9, 11},  {  121, 0x000003f2, 10},
  {  122, 0x00000066,  7},  {  123, 0x000001f5,  9},
  {  125, 0x000007ff, 11},  {  126, 0x000001f7,  9},
  {  127, 0x000007f4, 11}
};

static IppsVLCTable_32s spec_book2[] = {
  {  -43, 0x000001f3,  9},  {  -42, 0x0000006f,  7},
  {  -41, 0x000001fd,  9},  {  -39, 0x000000eb,  8},
  {  -38, 0x00000023,  6},  {  -37, 0x000000ea,  8},
  {  -35, 0x000001f7,  9},  {  -34, 0x000000e8,  8},
  {  -33, 0x000001fa,  9},  {  -27, 0x000000f2,  8},
  {  -26, 0x0000002d,  6},  {  -25, 0x00000070,  7},
  {  -23, 0x00000020,  6},  {  -22, 0x00000006,  5},
  {  -21, 0x0000002b,  6},  {  -19, 0x0000006e,  7},
  {  -18, 0x00000028,  6},  {  -17, 0x000000e9,  8},
  {  -11, 0x000001f9,  9},  {  -10, 0x00000066,  7},
  {   -9, 0x000000f8,  8},  {   -7, 0x000000e7,  8},
  {   -6, 0x0000001b,  6},  {   -5, 0x000000f1,  8},
  {   -3, 0x000001f4,  9},  {   -2, 0x0000006b,  7},
  {   -1, 0x000001f5,  9},  {   21, 0x000000ec,  8},
  {   22, 0x0000002a,  6},  {   23, 0x0000006c,  7},
  {   25, 0x0000002c,  6},  {   26, 0x0000000a,  5},
  {   27, 0x00000027,  6},  {   29, 0x00000067,  7},
  {   30, 0x0000001a,  6},  {   31, 0x000000f5,  8},
  {   37, 0x00000024,  6},  {   38, 0x00000008,  5},
  {   39, 0x0000001f,  6},  {   41, 0x00000009,  5},
  {   42, 0x00000000,  3},  {   43, 0x00000007,  5},
  {   45, 0x0000001d,  6},  {   46, 0x0000000b,  5},
  {   47, 0x00000030,  6},  {   53, 0x000000ef,  8},
  {   54, 0x0000001c,  6},  {   55, 0x00000064,  7},
  {   57, 0x0000001e,  6},  {   58, 0x0000000c,  5},
  {   59, 0x00000029,  6},  {   61, 0x000000f3,  8},
  {   62, 0x0000002f,  6},  {   63, 0x000000f0,  8},
  {   85, 0x000001fc,  9},  {   86, 0x00000071,  7},
  {   87, 0x000001f2,  9},  {   89, 0x000000f4,  8},
  {   90, 0x00000021,  6},  {   91, 0x000000e6,  8},
  {   93, 0x000000f7,  8},  {   94, 0x00000068,  7},
  {   95, 0x000001f8,  9},  {  101, 0x000000ee,  8},
  {  102, 0x00000022,  6},  {  103, 0x00000065,  7},
  {  105, 0x00000031,  6},  {  106, 0x00000002,  4},
  {  107, 0x00000026,  6},  {  109, 0x000000ed,  8},
  {  110, 0x00000025,  6},  {  111, 0x0000006a,  7},
  {  117, 0x000001fb,  9},  {  118, 0x00000072,  7},
  {  119, 0x000001fe,  9},  {  121, 0x00000069,  7},
  {  122, 0x0000002e,  6},  {  123, 0x000000f6,  8},
  {  125, 0x000001ff,  9},  {  126, 0x0000006d,  7},
  {  127, 0x000001f6,  9}
};

static IppsVLCTable_32s spec_book3[] = {
  {  292, 0x00000000,  1},  {  293, 0x00000012,  5},
  {  291, 0x00000013,  5},  {  294, 0x000001de,  9},
  {  290, 0x000001df,  9},  {  300, 0x00000016,  5},
  {  284, 0x00000017,  5},  {  301, 0x00000064,  7},
  {  285, 0x00000066,  7},  {  299, 0x00000065,  7},
  {  283, 0x00000067,  7},  {  302, 0x000003c0, 10},
  {  286, 0x000003c2, 10},  {  298, 0x000003c1, 10},
  {  282, 0x000003c3, 10},  {  308, 0x000003d6, 10},
  {  276, 0x000003d7, 10},  {  309, 0x00000798, 11},
  {  277, 0x0000079a, 11},  {  307, 0x00000799, 11},
  {  275, 0x0000079b, 11},  {  310, 0x00000fc8, 12},
  {  278, 0x00000fca, 12},  {  306, 0x00000fc9, 12},
  {  274, 0x00000fcb, 12},  {  356, 0x00000014,  5},
  {  228, 0x00000015,  5},  {  357, 0x000000d4,  8},
  {  229, 0x000000d6,  8},  {  355, 0x000000d5,  8},
  {  227, 0x000000d7,  8},  {  358, 0x000007bc, 11},
  {  230, 0x000007be, 11},  {  354, 0x000007bd, 11},
  {  226, 0x000007bf, 11},  {  364, 0x000000d0,  8},
  {  236, 0x000000d2,  8},  {  348, 0x000000d1,  8},
  {  220, 0x000000d3,  8},  {  365, 0x000001b8,  9},
  {  237, 0x000001bc,  9},  {  349, 0x000001ba,  9},
  {  221, 0x000001be,  9},  {  363, 0x000001b9,  9},
  {  235, 0x000001bd,  9},  {  347, 0x000001bb,  9},
  {  219, 0x000001bf,  9},  {  366, 0x00000f48, 12},
  {  238, 0x00000f4c, 12},  {  350, 0x00000f4a, 12},
  {  222, 0x00000f4e, 12},  {  362, 0x00000f49, 12},
  {  234, 0x00000f4d, 12},  {  346, 0x00000f4b, 12},
  {  218, 0x00000f4f, 12},  {  372, 0x000007b4, 11},
  {  244, 0x000007b6, 11},  {  340, 0x000007b5, 11},
  {  212, 0x000007b7, 11},  {  373, 0x00000f38, 12},
  {  245, 0x00000f3c, 12},  {  341, 0x00000f3a, 12},
  {  213, 0x00000f3e, 12},  {  371, 0x00000f39, 12},
  {  243, 0x00000f3d, 12},  {  339, 0x00000f3b, 12},
  {  211, 0x00000f3f, 12},  {  374, 0x00001f98, 13},
  {  246, 0x00001f9c, 13},  {  342, 0x00001f9a, 13},
  {  214, 0x00001f9e, 13},  {  370, 0x00001f99, 13},
  {  242, 0x00001f9d, 13},  {  338, 0x00001f9b, 13},
  {  210, 0x00001f9f, 13},  {  420, 0x000003dc, 10},
  {  164, 0x000003dd, 10},  {  421, 0x00000fb4, 12},
  {  165, 0x00000fb6, 12},  {  419, 0x00000fb5, 12},
  {  163, 0x00000fb7, 12},  {  422, 0x00007fe8, 15},
  {  166, 0x00007fea, 15},  {  418, 0x00007fe9, 15},
  {  162, 0x00007feb, 15},  {  428, 0x000007b0, 11},
  {  172, 0x000007b2, 11},  {  412, 0x000007b1, 11},
  {  156, 0x000007b3, 11},  {  429, 0x00000f90, 12},
  {  173, 0x00000f94, 12},  {  413, 0x00000f92, 12},
  {  157, 0x00000f96, 12},  {  427, 0x00000f91, 12},
  {  171, 0x00000f95, 12},  {  411, 0x00000f93, 12},
  {  155, 0x00000f97, 12},  {  430, 0x00003fc8, 14},
  {  174, 0x00003fcc, 14},  {  414, 0x00003fca, 14},
  {  158, 0x00003fce, 14},  {  426, 0x00003fc9, 14},
  {  170, 0x00003fcd, 14},  {  410, 0x00003fcb, 14},
  {  154, 0x00003fcf, 14},  {  436, 0x00001fe0, 13},
  {  180, 0x00001fe2, 13},  {  404, 0x00001fe1, 13},
  {  148, 0x00001fe3, 13},  {  437, 0x00001fc0, 13},
  {  181, 0x00001fc4, 13},  {  405, 0x00001fc2, 13},
  {  149, 0x00001fc6, 13},  {  435, 0x00001fc1, 13},
  {  179, 0x00001fc5, 13},  {  403, 0x00001fc3, 13},
  {  147, 0x00001fc7, 13},  {  438, 0x00007fc0, 15},
  {  182, 0x00007fc4, 15},  {  406, 0x00007fc2, 15},
  {  150, 0x00007fc6, 15},  {  434, 0x00007fc1, 15},
  {  178, 0x00007fc5, 15},  {  402, 0x00007fc3, 15},
  {  146, 0x00007fc7, 15},  {  804, 0x00000010,  5},
  { -220, 0x00000011,  5},  {  805, 0x000000e0,  8},
  { -219, 0x000000e2,  8},  {  803, 0x000000e1,  8},
  { -221, 0x000000e3,  8},  {  806, 0x00000fd8, 12},
  { -218, 0x00000fda, 12},  {  802, 0x00000fd9, 12},
  { -222, 0x00000fdb, 12},  {  812, 0x000000d8,  8},
  { -212, 0x000000da,  8},  {  796, 0x000000d9,  8},
  { -228, 0x000000db,  8},  {  813, 0x000003a8, 10},
  { -211, 0x000003ac, 10},  {  797, 0x000003aa, 10},
  { -227, 0x000003ae, 10},  {  811, 0x000003a9, 10},
  { -213, 0x000003ad, 10},  {  795, 0x000003ab, 10},
  { -229, 0x000003af, 10},  {  814, 0x00001f88, 13},
  { -210, 0x00001f8c, 13},  {  798, 0x00001f8a, 13},
  { -226, 0x00001f8e, 13},  {  810, 0x00001f89, 13},
  { -214, 0x00001f8d, 13},  {  794, 0x00001f8b, 13},
  { -230, 0x00001f8f, 13},  {  820, 0x00000fac, 12},
  { -204, 0x00000fae, 12},  {  788, 0x00000fad, 12},
  { -236, 0x00000faf, 12},  {  821, 0x00001f60, 13},
  { -203, 0x00001f64, 13},  {  789, 0x00001f62, 13},
  { -235, 0x00001f66, 13},  {  819, 0x00001f61, 13},
  { -205, 0x00001f65, 13},  {  787, 0x00001f63, 13},
  { -237, 0x00001f67, 13},  {  822, 0x00007fa0, 15},
  { -202, 0x00007fa4, 15},  {  790, 0x00007fa2, 15},
  { -234, 0x00007fa6, 15},  {  818, 0x00007fa1, 15},
  { -206, 0x00007fa5, 15},  {  786, 0x00007fa3, 15},
  { -238, 0x00007fa7, 15},  {  868, 0x00000060,  7},
  { -156, 0x00000062,  7},  {  740, 0x00000061,  7},
  { -284, 0x00000063,  7},  {  869, 0x000003b0, 10},
  { -155, 0x000003b4, 10},  {  741, 0x000003b2, 10},
  { -283, 0x000003b6, 10},  {  867, 0x000003b1, 10},
  { -157, 0x000003b5, 10},  {  739, 0x000003b3, 10},
  { -285, 0x000003b7, 10},  {  870, 0x00003fa0, 14},
  { -154, 0x00003fa4, 14},  {  742, 0x00003fa2, 14},
  { -282, 0x00003fa6, 14},  {  866, 0x00003fa1, 14},
  { -158, 0x00003fa5, 14},  {  738, 0x00003fa3, 14},
  { -286, 0x00003fa7, 14},  {  876, 0x000001c8,  9},
  { -148, 0x000001cc,  9},  {  748, 0x000001ca,  9},
  { -276, 0x000001ce,  9},  {  860, 0x000001c9,  9},
  { -164, 0x000001cd,  9},  {  732, 0x000001cb,  9},
  { -292, 0x000001cf,  9},  {  877, 0x00000740, 11},
  { -147, 0x00000748, 11},  {  749, 0x00000744, 11},
  { -275, 0x0000074c, 11},  {  861, 0x00000742, 11},
  { -163, 0x0000074a, 11},  {  733, 0x00000746, 11},
  { -291, 0x0000074e, 11},  {  875, 0x00000741, 11},
  { -149, 0x00000749, 11},  {  747, 0x00000745, 11},
  { -277, 0x0000074d, 11},  {  859, 0x00000743, 11},
  { -165, 0x0000074b, 11},  {  731, 0x00000747, 11},
  { -293, 0x0000074f, 11},  {  878, 0x00003ef0, 14},
  { -146, 0x00003ef8, 14},  {  750, 0x00003ef4, 14},
  { -274, 0x00003efc, 14},  {  862, 0x00003ef2, 14},
  { -162, 0x00003efa, 14},  {  734, 0x00003ef6, 14},
  { -290, 0x00003efe, 14},  {  874, 0x00003ef1, 14},
  { -150, 0x00003ef9, 14},  {  746, 0x00003ef5, 14},
  { -278, 0x00003efd, 14},  {  858, 0x00003ef3, 14},
  { -166, 0x00003efb, 14},  {  730, 0x00003ef7, 14},
  { -294, 0x00003eff, 14},  {  884, 0x00000f98, 12},
  { -140, 0x00000f9c, 12},  {  756, 0x00000f9a, 12},
  { -268, 0x00000f9e, 12},  {  852, 0x00000f99, 12},
  { -172, 0x00000f9d, 12},  {  724, 0x00000f9b, 12},
  { -300, 0x00000f9f, 12},  {  885, 0x00001f40, 13},
  { -139, 0x00001f48, 13},  {  757, 0x00001f44, 13},
  { -267, 0x00001f4c, 13},  {  853, 0x00001f42, 13},
  { -171, 0x00001f4a, 13},  {  725, 0x00001f46, 13},
  { -299, 0x00001f4e, 13},  {  883, 0x00001f41, 13},
  { -141, 0x00001f49, 13},  {  755, 0x00001f45, 13},
  { -269, 0x00001f4d, 13},  {  851, 0x00001f43, 13},
  { -173, 0x00001f4b, 13},  {  723, 0x00001f47, 13},
  { -301, 0x00001f4f, 13},  {  886, 0x00007f60, 15},
  { -138, 0x00007f68, 15},  {  758, 0x00007f64, 15},
  { -266, 0x00007f6c, 15},  {  854, 0x00007f62, 15},
  { -170, 0x00007f6a, 15},  {  726, 0x00007f66, 15},
  { -298, 0x00007f6e, 15},  {  882, 0x00007f61, 15},
  { -142, 0x00007f69, 15},  {  754, 0x00007f65, 15},
  { -270, 0x00007f6d, 15},  {  850, 0x00007f63, 15},
  { -174, 0x00007f6b, 15},  {  722, 0x00007f67, 15},
  { -302, 0x00007f6f, 15},  {  932, 0x000007a0, 11},
  {  -92, 0x000007a2, 11},  {  676, 0x000007a1, 11},
  { -348, 0x000007a3, 11},  {  933, 0x00001f50, 13},
  {  -91, 0x00001f54, 13},  {  677, 0x00001f52, 13},
  { -347, 0x00001f56, 13},  {  931, 0x00001f51, 13},
  {  -93, 0x00001f55, 13},  {  675, 0x00001f53, 13},
  { -349, 0x00001f57, 13},  {  934, 0x0000ffe0, 16},
  {  -90, 0x0000ffe4, 16},  {  678, 0x0000ffe2, 16},
  { -346, 0x0000ffe6, 16},  {  930, 0x0000ffe1, 16},
  {  -94, 0x0000ffe5, 16},  {  674, 0x0000ffe3, 16},
  { -350, 0x0000ffe7, 16},  {  940, 0x00000790, 11},
  {  -84, 0x00000794, 11},  {  684, 0x00000792, 11},
  { -340, 0x00000796, 11},  {  924, 0x00000791, 11},
  { -100, 0x00000795, 11},  {  668, 0x00000793, 11},
  { -356, 0x00000797, 11},  {  941, 0x00001f10, 13},
  {  -83, 0x00001f18, 13},  {  685, 0x00001f14, 13},
  { -339, 0x00001f1c, 13},  {  925, 0x00001f12, 13},
  {  -99, 0x00001f1a, 13},  {  669, 0x00001f16, 13},
  { -355, 0x00001f1e, 13},  {  939, 0x00001f11, 13},
  {  -85, 0x00001f19, 13},  {  683, 0x00001f15, 13},
  { -341, 0x00001f1d, 13},  {  923, 0x00001f13, 13},
  { -101, 0x00001f1b, 13},  {  667, 0x00001f17, 13},
  { -357, 0x00001f1f, 13},  {  942, 0x0000ffb0, 16},
  {  -82, 0x0000ffb8, 16},  {  686, 0x0000ffb4, 16},
  { -338, 0x0000ffbc, 16},  {  926, 0x0000ffb2, 16},
  {  -98, 0x0000ffba, 16},  {  670, 0x0000ffb6, 16},
  { -354, 0x0000ffbe, 16},  {  938, 0x0000ffb1, 16},
  {  -86, 0x0000ffb9, 16},  {  682, 0x0000ffb5, 16},
  { -342, 0x0000ffbd, 16},  {  922, 0x0000ffb3, 16},
  { -102, 0x0000ffbb, 16},  {  666, 0x0000ffb7, 16},
  { -358, 0x0000ffbf, 16},  {  948, 0x00001fa8, 13},
  {  -76, 0x00001fac, 13},  {  692, 0x00001faa, 13},
  { -332, 0x00001fae, 13},  {  916, 0x00001fa9, 13},
  { -108, 0x00001fad, 13},  {  660, 0x00001fab, 13},
  { -364, 0x00001faf, 13},  {  949, 0x00007f30, 15},
  {  -75, 0x00007f38, 15},  {  693, 0x00007f34, 15},
  { -331, 0x00007f3c, 15},  {  917, 0x00007f32, 15},
  { -107, 0x00007f3a, 15},  {  661, 0x00007f36, 15},
  { -363, 0x00007f3e, 15},  {  947, 0x00007f31, 15},
  {  -77, 0x00007f39, 15},  {  691, 0x00007f35, 15},
  { -333, 0x00007f3d, 15},  {  915, 0x00007f33, 15},
  { -109, 0x00007f3b, 15},  {  659, 0x00007f37, 15},
  { -365, 0x00007f3f, 15},  {  950, 0x0000ffc0, 16},
  {  -74, 0x0000ffc8, 16},  {  694, 0x0000ffc4, 16},
  { -330, 0x0000ffcc, 16},  {  918, 0x0000ffc2, 16},
  { -106, 0x0000ffca, 16},  {  662, 0x0000ffc6, 16},
  { -362, 0x0000ffce, 16},  {  946, 0x0000ffc1, 16},
  {  -78, 0x0000ffc9, 16},  {  690, 0x0000ffc5, 16},
  { -334, 0x0000ffcd, 16},  {  914, 0x0000ffc3, 16},
  { -110, 0x0000ffcb, 16},  {  658, 0x0000ffc7, 16},
  { -366, 0x0000ffcf, 16},  { 1316, 0x000001dc,  9},
  { -732, 0x000001dd,  9},  { 1317, 0x00000fdc, 12},
  { -731, 0x00000fde, 12},  { 1315, 0x00000fdd, 12},
  { -733, 0x00000fdf, 12},  { 1318, 0x0001fff8, 17},
  { -730, 0x0001fffa, 17},  { 1314, 0x0001fff9, 17},
  { -734, 0x0001fffb, 17},  { 1324, 0x000007c0, 11},
  { -724, 0x000007c2, 11},  { 1308, 0x000007c1, 11},
  { -740, 0x000007c3, 11},  { 1325, 0x00003fa8, 14},
  { -723, 0x00003fac, 14},  { 1309, 0x00003faa, 14},
  { -739, 0x00003fae, 14},  { 1323, 0x00003fa9, 14},
  { -725, 0x00003fad, 14},  { 1307, 0x00003fab, 14},
  { -741, 0x00003faf, 14},  { 1326, 0x0003ffe8, 18},
  { -722, 0x0003ffec, 18},  { 1310, 0x0003ffea, 18},
  { -738, 0x0003ffee, 18},  { 1322, 0x0003ffe9, 18},
  { -726, 0x0003ffed, 18},  { 1306, 0x0003ffeb, 18},
  { -742, 0x0003ffef, 18},  { 1332, 0x00007fec, 15},
  { -716, 0x00007fee, 15},  { 1300, 0x00007fed, 15},
  { -748, 0x00007fef, 15},  { 1333, 0x0001ffd0, 17},
  { -715, 0x0001ffd4, 17},  { 1301, 0x0001ffd2, 17},
  { -747, 0x0001ffd6, 17},  { 1331, 0x0001ffd1, 17},
  { -717, 0x0001ffd5, 17},  { 1299, 0x0001ffd3, 17},
  { -749, 0x0001ffd7, 17},  { 1334, 0x0007fff8, 19},
  { -714, 0x0007fffc, 19},  { 1302, 0x0007fffa, 19},
  { -746, 0x0007fffe, 19},  { 1330, 0x0007fff9, 19},
  { -718, 0x0007fffd, 19},  { 1298, 0x0007fffb, 19},
  { -750, 0x0007ffff, 19},  { 1380, 0x000003c4, 10},
  { -668, 0x000003c6, 10},  { 1252, 0x000003c5, 10},
  { -796, 0x000003c7, 10},  { 1381, 0x00001f80, 13},
  { -667, 0x00001f84, 13},  { 1253, 0x00001f82, 13},
  { -795, 0x00001f86, 13},  { 1379, 0x00001f81, 13},
  { -669, 0x00001f85, 13},  { 1251, 0x00001f83, 13},
  { -797, 0x00001f87, 13},  { 1382, 0x0001ffe0, 17},
  { -666, 0x0001ffe4, 17},  { 1254, 0x0001ffe2, 17},
  { -794, 0x0001ffe6, 17},  { 1378, 0x0001ffe1, 17},
  { -670, 0x0001ffe5, 17},  { 1250, 0x0001ffe3, 17},
  { -798, 0x0001ffe7, 17},  { 1388, 0x00000f50, 12},
  { -660, 0x00000f54, 12},  { 1260, 0x00000f52, 12},
  { -788, 0x00000f56, 12},  { 1372, 0x00000f51, 12},
  { -676, 0x00000f55, 12},  { 1244, 0x00000f53, 12},
  { -804, 0x00000f57, 12},  { 1389, 0x00003ee0, 14},
  { -659, 0x00003ee8, 14},  { 1261, 0x00003ee4, 14},
  { -787, 0x00003eec, 14},  { 1373, 0x00003ee2, 14},
  { -675, 0x00003eea, 14},  { 1245, 0x00003ee6, 14},
  { -803, 0x00003eee, 14},  { 1387, 0x00003ee1, 14},
  { -661, 0x00003ee9, 14},  { 1259, 0x00003ee5, 14},
  { -789, 0x00003eed, 14},  { 1371, 0x00003ee3, 14},
  { -677, 0x00003eeb, 14},  { 1243, 0x00003ee7, 14},
  { -805, 0x00003eef, 14},  { 1390, 0x0003ffb0, 18},
  { -658, 0x0003ffb8, 18},  { 1262, 0x0003ffb4, 18},
  { -786, 0x0003ffbc, 18},  { 1374, 0x0003ffb2, 18},
  { -674, 0x0003ffba, 18},  { 1246, 0x0003ffb6, 18},
  { -802, 0x0003ffbe, 18},  { 1386, 0x0003ffb1, 18},
  { -662, 0x0003ffb9, 18},  { 1258, 0x0003ffb5, 18},
  { -790, 0x0003ffbd, 18},  { 1370, 0x0003ffb3, 18},
  { -678, 0x0003ffbb, 18},  { 1242, 0x0003ffb7, 18},
  { -806, 0x0003ffbf, 18},  { 1396, 0x00007fb0, 15},
  { -652, 0x00007fb4, 15},  { 1268, 0x00007fb2, 15},
  { -780, 0x00007fb6, 15},  { 1364, 0x00007fb1, 15},
  { -684, 0x00007fb5, 15},  { 1236, 0x00007fb3, 15},
  { -812, 0x00007fb7, 15},  { 1397, 0x0000ffa0, 16},
  { -651, 0x0000ffa8, 16},  { 1269, 0x0000ffa4, 16},
  { -779, 0x0000ffac, 16},  { 1365, 0x0000ffa2, 16},
  { -683, 0x0000ffaa, 16},  { 1237, 0x0000ffa6, 16},
  { -811, 0x0000ffae, 16},  { 1395, 0x0000ffa1, 16},
  { -653, 0x0000ffa9, 16},  { 1267, 0x0000ffa5, 16},
  { -781, 0x0000ffad, 16},  { 1363, 0x0000ffa3, 16},
  { -685, 0x0000ffab, 16},  { 1235, 0x0000ffa7, 16},
  { -813, 0x0000ffaf, 16},  { 1398, 0x0007ffc0, 19},
  { -650, 0x0007ffc8, 19},  { 1270, 0x0007ffc4, 19},
  { -778, 0x0007ffcc, 19},  { 1366, 0x0007ffc2, 19},
  { -682, 0x0007ffca, 19},  { 1238, 0x0007ffc6, 19},
  { -810, 0x0007ffce, 19},  { 1394, 0x0007ffc1, 19},
  { -654, 0x0007ffc9, 19},  { 1266, 0x0007ffc5, 19},
  { -782, 0x0007ffcd, 19},  { 1362, 0x0007ffc3, 19},
  { -686, 0x0007ffcb, 19},  { 1234, 0x0007ffc7, 19},
  { -814, 0x0007ffcf, 19},  { 1444, 0x00001fc8, 13},
  { -604, 0x00001fca, 13},  { 1188, 0x00001fc9, 13},
  { -860, 0x00001fcb, 13},  { 1445, 0x00007fa8, 15},
  { -603, 0x00007fac, 15},  { 1189, 0x00007faa, 15},
  { -859, 0x00007fae, 15},  { 1443, 0x00007fa9, 15},
  { -605, 0x00007fad, 15},  { 1187, 0x00007fab, 15},
  { -861, 0x00007faf, 15},  { 1446, 0x0007fff0, 19},
  { -602, 0x0007fff4, 19},  { 1190, 0x0007fff2, 19},
  { -858, 0x0007fff6, 19},  { 1442, 0x0007fff1, 19},
  { -606, 0x0007fff5, 19},  { 1186, 0x0007fff3, 19},
  { -862, 0x0007fff7, 19},  { 1452, 0x00001fa0, 13},
  { -596, 0x00001fa4, 13},  { 1196, 0x00001fa2, 13},
  { -852, 0x00001fa6, 13},  { 1436, 0x00001fa1, 13},
  { -612, 0x00001fa5, 13},  { 1180, 0x00001fa3, 13},
  { -868, 0x00001fa7, 13},  { 1453, 0x00007f70, 15},
  { -595, 0x00007f78, 15},  { 1197, 0x00007f74, 15},
  { -851, 0x00007f7c, 15},  { 1437, 0x00007f72, 15},
  { -611, 0x00007f7a, 15},  { 1181, 0x00007f76, 15},
  { -867, 0x00007f7e, 15},  { 1451, 0x00007f71, 15},
  { -597, 0x00007f79, 15},  { 1195, 0x00007f75, 15},
  { -853, 0x00007f7d, 15},  { 1435, 0x00007f73, 15},
  { -613, 0x00007f7b, 15},  { 1179, 0x00007f77, 15},
  { -869, 0x00007f7f, 15},  { 1454, 0x0007ffb0, 19},
  { -594, 0x0007ffb8, 19},  { 1198, 0x0007ffb4, 19},
  { -850, 0x0007ffbc, 19},  { 1438, 0x0007ffb2, 19},
  { -610, 0x0007ffba, 19},  { 1182, 0x0007ffb6, 19},
  { -866, 0x0007ffbe, 19},  { 1450, 0x0007ffb1, 19},
  { -598, 0x0007ffb9, 19},  { 1194, 0x0007ffb5, 19},
  { -854, 0x0007ffbd, 19},  { 1434, 0x0007ffb3, 19},
  { -614, 0x0007ffbb, 19},  { 1178, 0x0007ffb7, 19},
  { -870, 0x0007ffbf, 19},  { 1460, 0x00007fb8, 15},
  { -588, 0x00007fbc, 15},  { 1204, 0x00007fba, 15},
  { -844, 0x00007fbe, 15},  { 1428, 0x00007fb9, 15},
  { -620, 0x00007fbd, 15},  { 1172, 0x00007fbb, 15},
  { -876, 0x00007fbf, 15},  { 1461, 0x0000ff90, 16},
  { -587, 0x0000ff98, 16},  { 1205, 0x0000ff94, 16},
  { -843, 0x0000ff9c, 16},  { 1429, 0x0000ff92, 16},
  { -619, 0x0000ff9a, 16},  { 1173, 0x0000ff96, 16},
  { -875, 0x0000ff9e, 16},  { 1459, 0x0000ff91, 16},
  { -589, 0x0000ff99, 16},  { 1203, 0x0000ff95, 16},
  { -845, 0x0000ff9d, 16},  { 1427, 0x0000ff93, 16},
  { -621, 0x0000ff9b, 16},  { 1171, 0x0000ff97, 16},
  { -877, 0x0000ff9f, 16},  { 1462, 0x0007ffa0, 19},
  { -586, 0x0007ffa8, 19},  { 1206, 0x0007ffa4, 19},
  { -842, 0x0007ffac, 19},  { 1430, 0x0007ffa2, 19},
  { -618, 0x0007ffaa, 19},  { 1174, 0x0007ffa6, 19},
  { -874, 0x0007ffae, 19},  { 1458, 0x0007ffa1, 19},
  { -590, 0x0007ffa9, 19},  { 1202, 0x0007ffa5, 19},
  { -846, 0x0007ffad, 19},  { 1426, 0x0007ffa3, 19},
  { -622, 0x0007ffab, 19},  { 1170, 0x0007ffa7, 19},
  { -878, 0x0007ffaf, 19}
};

static IppsVLCTable_32s spec_book4[] = {
  {  292, 0x00000007,  4},  {  293, 0x0000002c,  6},
  {  291, 0x0000002d,  6},  {  294, 0x000001ec,  9},
  {  290, 0x000001ed,  9},  {  300, 0x00000030,  6},
  {  284, 0x00000031,  6},  {  301, 0x00000020,  6},
  {  285, 0x00000022,  6},  {  299, 0x00000021,  6},
  {  283, 0x00000023,  6},  {  302, 0x000003bc, 10},
  {  286, 0x000003be, 10},  {  298, 0x000003bd, 10},
  {  282, 0x000003bf, 10},  {  308, 0x000003de, 10},
  {  276, 0x000003df, 10},  {  309, 0x000003cc, 10},
  {  277, 0x000003ce, 10},  {  307, 0x000003cd, 10},
  {  275, 0x000003cf, 10},  {  310, 0x00001fe0, 13},
  {  278, 0x00001fe2, 13},  {  306, 0x00001fe1, 13},
  {  274, 0x00001fe3, 13},  {  356, 0x00000032,  6},
  {  228, 0x00000033,  6},  {  357, 0x0000005c,  7},
  {  229, 0x0000005e,  7},  {  355, 0x0000005d,  7},
  {  227, 0x0000005f,  7},  {  358, 0x000003b4, 10},
  {  230, 0x000003b6, 10},  {  354, 0x000003b5, 10},
  {  226, 0x000003b7, 10},  {  364, 0x00000054,  7},
  {  236, 0x00000056,  7},  {  348, 0x00000055,  7},
  {  220, 0x00000057,  7},  {  365, 0x00000008,  7},
  {  237, 0x0000000c,  7},  {  349, 0x0000000a,  7},
  {  221, 0x0000000e,  7},  {  363, 0x00000009,  7},
  {  235, 0x0000000d,  7},  {  347, 0x0000000b,  7},
  {  219, 0x0000000f,  7},  {  366, 0x00000710, 11},
  {  238, 0x00000714, 11},  {  350, 0x00000712, 11},
  {  222, 0x00000716, 11},  {  362, 0x00000711, 11},
  {  234, 0x00000715, 11},  {  346, 0x00000713, 11},
  {  218, 0x00000717, 11},  {  372, 0x000003c0, 10},
  {  244, 0x000003c2, 10},  {  340, 0x000003c1, 10},
  {  212, 0x000003c3, 10},  {  373, 0x00000380, 10},
  {  245, 0x00000384, 10},  {  341, 0x00000382, 10},
  {  213, 0x00000386, 10},  {  371, 0x00000381, 10},
  {  243, 0x00000385, 10},  {  339, 0x00000383, 10},
  {  211, 0x00000387, 10},  {  374, 0x00001f80, 13},
  {  246, 0x00001f84, 13},  {  342, 0x00001f82, 13},
  {  214, 0x00001f86, 13},  {  370, 0x00001f81, 13},
  {  242, 0x00001f85, 13},  {  338, 0x00001f83, 13},
  {  210, 0x00001f87, 13},  {  420, 0x000003dc, 10},
  {  164, 0x000003dd, 10},  {  421, 0x000003c4, 10},
  {  165, 0x000003c6, 10},  {  419, 0x000003c5, 10},
  {  163, 0x000003c7, 10},  {  422, 0x00001fe8, 13},
  {  166, 0x00001fea, 13},  {  418, 0x00001fe9, 13},
  {  162, 0x00001feb, 13},  {  428, 0x000003b8, 10},
  {  172, 0x000003ba, 10},  {  412, 0x000003b9, 10},
  {  156, 0x000003bb, 10},  {  429, 0x00000720, 11},
  {  173, 0x00000724, 11},  {  413, 0x00000722, 11},
  {  157, 0x00000726, 11},  {  427, 0x00000721, 11},
  {  171, 0x00000725, 11},  {  411, 0x00000723, 11},
  {  155, 0x00000727, 11},  {  430, 0x00001f90, 13},
  {  174, 0x00001f94, 13},  {  414, 0x00001f92, 13},
  {  158, 0x00001f96, 13},  {  426, 0x00001f91, 13},
  {  170, 0x00001f95, 13},  {  410, 0x00001f93, 13},
  {  154, 0x00001f97, 13},  {  436, 0x00001fd8, 13},
  {  180, 0x00001fda, 13},  {  404, 0x00001fd9, 13},
  {  148, 0x00001fdb, 13},  {  437, 0x00001f78, 13},
  {  181, 0x00001f7c, 13},  {  405, 0x00001f7a, 13},
  {  149, 0x00001f7e, 13},  {  435, 0x00001f79, 13},
  {  179, 0x00001f7d, 13},  {  403, 0x00001f7b, 13},
  {  147, 0x00001f7f, 13},  {  438, 0x00003fe8, 14},
  {  182, 0x00003fec, 14},  {  406, 0x00003fea, 14},
  {  150, 0x00003fee, 14},  {  434, 0x00003fe9, 14},
  {  178, 0x00003fed, 14},  {  402, 0x00003feb, 14},
  {  146, 0x00003fef, 14},  {  804, 0x0000000a,  5},
  { -220, 0x0000000b,  5},  {  805, 0x00000050,  7},
  { -219, 0x00000052,  7},  {  803, 0x00000051,  7},
  { -221, 0x00000053,  7},  {  806, 0x000003c8, 10},
  { -218, 0x000003ca, 10},  {  802, 0x000003c9, 10},
  { -222, 0x000003cb, 10},  {  812, 0x00000024,  6},
  { -212, 0x00000026,  6},  {  796, 0x00000025,  6},
  { -228, 0x00000027,  6},  {  813, 0x00000020,  7},
  { -211, 0x00000024,  7},  {  797, 0x00000022,  7},
  { -227, 0x00000026,  7},  {  811, 0x00000021,  7},
  { -213, 0x00000025,  7},  {  795, 0x00000023,  7},
  { -229, 0x00000027,  7},  {  814, 0x00000728, 11},
  { -210, 0x0000072c, 11},  {  798, 0x0000072a, 11},
  { -226, 0x0000072e, 11},  {  810, 0x00000729, 11},
  { -214, 0x0000072d, 11},  {  794, 0x0000072b, 11},
  { -230, 0x0000072f, 11},  {  820, 0x000003d0, 10},
  { -204, 0x000003d2, 10},  {  788, 0x000003d1, 10},
  { -236, 0x000003d3, 10},  {  821, 0x00000740, 11},
  { -203, 0x00000744, 11},  {  789, 0x00000742, 11},
  { -235, 0x00000746, 11},  {  819, 0x00000741, 11},
  { -205, 0x00000745, 11},  {  787, 0x00000743, 11},
  { -237, 0x00000747, 11},  {  822, 0x00001fa0, 13},
  { -202, 0x00001fa4, 13},  {  790, 0x00001fa2, 13},
  { -234, 0x00001fa6, 13},  {  818, 0x00001fa1, 13},
  { -206, 0x00001fa5, 13},  {  786, 0x00001fa3, 13},
  { -238, 0x00001fa7, 13},  {  868, 0x00000018,  6},
  { -156, 0x0000001a,  6},  {  740, 0x00000019,  6},
  { -284, 0x0000001b,  6},  {  869, 0x00000010,  7},
  { -155, 0x00000014,  7},  {  741, 0x00000012,  7},
  { -283, 0x00000016,  7},  {  867, 0x00000011,  7},
  { -157, 0x00000015,  7},  {  739, 0x00000013,  7},
  { -285, 0x00000017,  7},  {  870, 0x00000738, 11},
  { -154, 0x0000073c, 11},  {  742, 0x0000073a, 11},
  { -282, 0x0000073e, 11},  {  866, 0x00000739, 11},
  { -158, 0x0000073d, 11},  {  738, 0x0000073b, 11},
  { -286, 0x0000073f, 11},  {  876, 0x00000018,  7},
  { -148, 0x0000001c,  7},  {  748, 0x0000001a,  7},
  { -276, 0x0000001e,  7},  {  860, 0x00000019,  7},
  { -164, 0x0000001d,  7},  {  732, 0x0000001b,  7},
  { -292, 0x0000001f,  7},  {  877, 0x00000000,  8},
  { -147, 0x00000008,  8},  {  749, 0x00000004,  8},
  { -275, 0x0000000c,  8},  {  861, 0x00000002,  8},
  { -163, 0x0000000a,  8},  {  733, 0x00000006,  8},
  { -291, 0x0000000e,  8},  {  875, 0x00000001,  8},
  { -149, 0x00000009,  8},  {  747, 0x00000005,  8},
  { -277, 0x0000000d,  8},  {  859, 0x00000003,  8},
  { -165, 0x0000000b,  8},  {  731, 0x00000007,  8},
  { -293, 0x0000000f,  8},  {  878, 0x000006b0, 11},
  { -146, 0x000006b8, 11},  {  750, 0x000006b4, 11},
  { -274, 0x000006bc, 11},  {  862, 0x000006b2, 11},
  { -162, 0x000006ba, 11},  {  734, 0x000006b6, 11},
  { -290, 0x000006be, 11},  {  874, 0x000006b1, 11},
  { -150, 0x000006b9, 11},  {  746, 0x000006b5, 11},
  { -278, 0x000006bd, 11},  {  858, 0x000006b3, 11},
  { -166, 0x000006bb, 11},  {  730, 0x000006b7, 11},
  { -294, 0x000006bf, 11},  {  884, 0x00000718, 11},
  { -140, 0x0000071c, 11},  {  756, 0x0000071a, 11},
  { -268, 0x0000071e, 11},  {  852, 0x00000719, 11},
  { -172, 0x0000071d, 11},  {  724, 0x0000071b, 11},
  { -300, 0x0000071f, 11},  {  885, 0x00000690, 11},
  { -139, 0x00000698, 11},  {  757, 0x00000694, 11},
  { -267, 0x0000069c, 11},  {  853, 0x00000692, 11},
  { -171, 0x0000069a, 11},  {  725, 0x00000696, 11},
  { -299, 0x0000069e, 11},  {  883, 0x00000691, 11},
  { -141, 0x00000699, 11},  {  755, 0x00000695, 11},
  { -269, 0x0000069d, 11},  {  851, 0x00000693, 11},
  { -173, 0x0000069b, 11},  {  723, 0x00000697, 11},
  { -301, 0x0000069f, 11},  {  886, 0x00001f30, 13},
  { -138, 0x00001f38, 13},  {  758, 0x00001f34, 13},
  { -266, 0x00001f3c, 13},  {  854, 0x00001f32, 13},
  { -170, 0x00001f3a, 13},  {  726, 0x00001f36, 13},
  { -298, 0x00001f3e, 13},  {  882, 0x00001f31, 13},
  { -142, 0x00001f39, 13},  {  754, 0x00001f35, 13},
  { -270, 0x00001f3d, 13},  {  850, 0x00001f33, 13},
  { -174, 0x00001f3b, 13},  {  722, 0x00001f37, 13},
  { -302, 0x00001f3f, 13},  {  932, 0x000003ac, 10},
  {  -92, 0x000003ae, 10},  {  676, 0x000003ad, 10},
  { -348, 0x000003af, 10},  {  933, 0x00000730, 11},
  {  -91, 0x00000734, 11},  {  677, 0x00000732, 11},
  { -347, 0x00000736, 11},  {  931, 0x00000731, 11},
  {  -93, 0x00000735, 11},  {  675, 0x00000733, 11},
  { -349, 0x00000737, 11},  {  934, 0x00001fb0, 13},
  {  -90, 0x00001fb4, 13},  {  678, 0x00001fb2, 13},
  { -346, 0x00001fb6, 13},  {  930, 0x00001fb1, 13},
  {  -94, 0x00001fb5, 13},  {  674, 0x00001fb3, 13},
  { -350, 0x00001fb7, 13},  {  940, 0x00000370, 10},
  {  -84, 0x00000374, 10},  {  684, 0x00000372, 10},
  { -340, 0x00000376, 10},  {  924, 0x00000371, 10},
  { -100, 0x00000375, 10},  {  668, 0x00000373, 10},
  { -356, 0x00000377, 10},  {  941, 0x000006a0, 11},
  {  -83, 0x000006a8, 11},  {  685, 0x000006a4, 11},
  { -339, 0x000006ac, 11},  {  925, 0x000006a2, 11},
  {  -99, 0x000006aa, 11},  {  669, 0x000006a6, 11},
  { -355, 0x000006ae, 11},  {  939, 0x000006a1, 11},
  {  -85, 0x000006a9, 11},  {  683, 0x000006a5, 11},
  { -341, 0x000006ad, 11},  {  923, 0x000006a3, 11},
  { -101, 0x000006ab, 11},  {  667, 0x000006a7, 11},
  { -357, 0x000006af, 11},  {  942, 0x00001f40, 13},
  {  -82, 0x00001f48, 13},  {  686, 0x00001f44, 13},
  { -338, 0x00001f4c, 13},  {  926, 0x00001f42, 13},
  {  -98, 0x00001f4a, 13},  {  670, 0x00001f46, 13},
  { -354, 0x00001f4e, 13},  {  938, 0x00001f41, 13},
  {  -86, 0x00001f49, 13},  {  682, 0x00001f45, 13},
  { -342, 0x00001f4d, 13},  {  922, 0x00001f43, 13},
  { -102, 0x00001f4b, 13},  {  666, 0x00001f47, 13},
  { -358, 0x00001f4f, 13},  {  948, 0x00001f60, 13},
  {  -76, 0x00001f64, 13},  {  692, 0x00001f62, 13},
  { -332, 0x00001f66, 13},  {  916, 0x00001f61, 13},
  { -108, 0x00001f65, 13},  {  660, 0x00001f63, 13},
  { -364, 0x00001f67, 13},  {  949, 0x00001f00, 13},
  {  -75, 0x00001f08, 13},  {  693, 0x00001f04, 13},
  { -331, 0x00001f0c, 13},  {  917, 0x00001f02, 13},
  { -107, 0x00001f0a, 13},  {  661, 0x00001f06, 13},
  { -363, 0x00001f0e, 13},  {  947, 0x00001f01, 13},
  {  -77, 0x00001f09, 13},  {  691, 0x00001f05, 13},
  { -333, 0x00001f0d, 13},  {  915, 0x00001f03, 13},
  { -109, 0x00001f0b, 13},  {  659, 0x00001f07, 13},
  { -365, 0x00001f0f, 13},  {  950, 0x00003f90, 14},
  {  -74, 0x00003f98, 14},  {  694, 0x00003f94, 14},
  { -330, 0x00003f9c, 14},  {  918, 0x00003f92, 14},
  { -106, 0x00003f9a, 14},  {  662, 0x00003f96, 14},
  { -362, 0x00003f9e, 14},  {  946, 0x00003f91, 14},
  {  -78, 0x00003f99, 14},  {  690, 0x00003f95, 14},
  { -334, 0x00003f9d, 14},  {  914, 0x00003f93, 14},
  { -110, 0x00003f9b, 14},  {  658, 0x00003f97, 14},
  { -366, 0x00003f9f, 14},  { 1316, 0x000001ea,  9},
  { -732, 0x000001eb,  9},  { 1317, 0x000003b0, 10},
  { -731, 0x000003b2, 10},  { 1315, 0x000003b1, 10},
  { -733, 0x000003b3, 10},  { 1318, 0x00001fec, 13},
  { -730, 0x00001fee, 13},  { 1314, 0x00001fed, 13},
  { -734, 0x00001fef, 13},  { 1324, 0x000003a8, 10},
  { -724, 0x000003aa, 10},  { 1308, 0x000003a9, 10},
  { -740, 0x000003ab, 10},  { 1325, 0x00000378, 10},
  { -723, 0x0000037c, 10},  { 1309, 0x0000037a, 10},
  { -739, 0x0000037e, 10},  { 1323, 0x00000379, 10},
  { -725, 0x0000037d, 10},  { 1307, 0x0000037b, 10},
  { -741, 0x0000037f, 10},  { 1326, 0x00001fb8, 13},
  { -722, 0x00001fbc, 13},  { 1310, 0x00001fba, 13},
  { -738, 0x00001fbe, 13},  { 1322, 0x00001fb9, 13},
  { -726, 0x00001fbd, 13},  { 1306, 0x00001fbb, 13},
  { -742, 0x00001fbf, 13},  { 1332, 0x00001fe4, 13},
  { -716, 0x00001fe6, 13},  { 1300, 0x00001fe5, 13},
  { -748, 0x00001fe7, 13},  { 1333, 0x00001f98, 13},
  { -715, 0x00001f9c, 13},  { 1301, 0x00001f9a, 13},
  { -747, 0x00001f9e, 13},  { 1331, 0x00001f99, 13},
  { -717, 0x00001f9d, 13},  { 1299, 0x00001f9b, 13},
  { -749, 0x00001f9f, 13},  { 1334, 0x00007ff8, 15},
  { -714, 0x00007ffc, 15},  { 1302, 0x00007ffa, 15},
  { -746, 0x00007ffe, 15},  { 1330, 0x00007ff9, 15},
  { -718, 0x00007ffd, 15},  { 1298, 0x00007ffb, 15},
  { -750, 0x00007fff, 15},  { 1380, 0x000003a4, 10},
  { -668, 0x000003a6, 10},  { 1252, 0x000003a5, 10},
  { -796, 0x000003a7, 10},  { 1381, 0x00000368, 10},
  { -667, 0x0000036c, 10},  { 1253, 0x0000036a, 10},
  { -795, 0x0000036e, 10},  { 1379, 0x00000369, 10},
  { -669, 0x0000036d, 10},  { 1251, 0x0000036b, 10},
  { -797, 0x0000036f, 10},  { 1382, 0x00001fc0, 13},
  { -666, 0x00001fc4, 13},  { 1254, 0x00001fc2, 13},
  { -794, 0x00001fc6, 13},  { 1378, 0x00001fc1, 13},
  { -670, 0x00001fc5, 13},  { 1250, 0x00001fc3, 13},
  { -798, 0x00001fc7, 13},  { 1388, 0x00000360, 10},
  { -660, 0x00000364, 10},  { 1260, 0x00000362, 10},
  { -788, 0x00000366, 10},  { 1372, 0x00000361, 10},
  { -676, 0x00000365, 10},  { 1244, 0x00000363, 10},
  { -804, 0x00000367, 10},  { 1389, 0x00000680, 11},
  { -659, 0x00000688, 11},  { 1261, 0x00000684, 11},
  { -787, 0x0000068c, 11},  { 1373, 0x00000682, 11},
  { -675, 0x0000068a, 11},  { 1245, 0x00000686, 11},
  { -803, 0x0000068e, 11},  { 1387, 0x00000681, 11},
  { -661, 0x00000689, 11},  { 1259, 0x00000685, 11},
  { -789, 0x0000068d, 11},  { 1371, 0x00000683, 11},
  { -677, 0x0000068b, 11},  { 1243, 0x00000687, 11},
  { -805, 0x0000068f, 11},  { 1390, 0x00001f50, 13},
  { -658, 0x00001f58, 13},  { 1262, 0x00001f54, 13},
  { -786, 0x00001f5c, 13},  { 1374, 0x00001f52, 13},
  { -674, 0x00001f5a, 13},  { 1246, 0x00001f56, 13},
  { -802, 0x00001f5e, 13},  { 1386, 0x00001f51, 13},
  { -662, 0x00001f59, 13},  { 1258, 0x00001f55, 13},
  { -790, 0x00001f5d, 13},  { 1370, 0x00001f53, 13},
  { -678, 0x00001f5b, 13},  { 1242, 0x00001f57, 13},
  { -806, 0x00001f5f, 13},  { 1396, 0x00001f70, 13},
  { -652, 0x00001f74, 13},  { 1268, 0x00001f72, 13},
  { -780, 0x00001f76, 13},  { 1364, 0x00001f71, 13},
  { -684, 0x00001f75, 13},  { 1236, 0x00001f73, 13},
  { -812, 0x00001f77, 13},  { 1397, 0x00001f20, 13},
  { -651, 0x00001f28, 13},  { 1269, 0x00001f24, 13},
  { -779, 0x00001f2c, 13},  { 1365, 0x00001f22, 13},
  { -683, 0x00001f2a, 13},  { 1237, 0x00001f26, 13},
  { -811, 0x00001f2e, 13},  { 1395, 0x00001f21, 13},
  { -653, 0x00001f29, 13},  { 1267, 0x00001f25, 13},
  { -781, 0x00001f2d, 13},  { 1363, 0x00001f23, 13},
  { -685, 0x00001f2b, 13},  { 1235, 0x00001f27, 13},
  { -813, 0x00001f2f, 13},  { 1398, 0x00007f40, 15},
  { -650, 0x00007f48, 15},  { 1270, 0x00007f44, 15},
  { -778, 0x00007f4c, 15},  { 1366, 0x00007f42, 15},
  { -682, 0x00007f4a, 15},  { 1238, 0x00007f46, 15},
  { -810, 0x00007f4e, 15},  { 1394, 0x00007f41, 15},
  { -654, 0x00007f49, 15},  { 1266, 0x00007f45, 15},
  { -782, 0x00007f4d, 15},  { 1362, 0x00007f43, 15},
  { -686, 0x00007f4b, 15},  { 1234, 0x00007f47, 15},
  { -814, 0x00007f4f, 15},  { 1444, 0x00001fdc, 13},
  { -604, 0x00001fde, 13},  { 1188, 0x00001fdd, 13},
  { -860, 0x00001fdf, 13},  { 1445, 0x00001f88, 13},
  { -603, 0x00001f8c, 13},  { 1189, 0x00001f8a, 13},
  { -859, 0x00001f8e, 13},  { 1443, 0x00001f89, 13},
  { -605, 0x00001f8d, 13},  { 1187, 0x00001f8b, 13},
  { -861, 0x00001f8f, 13},  { 1446, 0x00007ff0, 15},
  { -602, 0x00007ff4, 15},  { 1190, 0x00007ff2, 15},
  { -858, 0x00007ff6, 15},  { 1442, 0x00007ff1, 15},
  { -606, 0x00007ff5, 15},  { 1186, 0x00007ff3, 15},
  { -862, 0x00007ff7, 15},  { 1452, 0x00001f68, 13},
  { -596, 0x00001f6c, 13},  { 1196, 0x00001f6a, 13},
  { -852, 0x00001f6e, 13},  { 1436, 0x00001f69, 13},
  { -612, 0x00001f6d, 13},  { 1180, 0x00001f6b, 13},
  { -868, 0x00001f6f, 13},  { 1453, 0x00001f10, 13},
  { -595, 0x00001f18, 13},  { 1197, 0x00001f14, 13},
  { -851, 0x00001f1c, 13},  { 1437, 0x00001f12, 13},
  { -611, 0x00001f1a, 13},  { 1181, 0x00001f16, 13},
  { -867, 0x00001f1e, 13},  { 1451, 0x00001f11, 13},
  { -597, 0x00001f19, 13},  { 1195, 0x00001f15, 13},
  { -853, 0x00001f1d, 13},  { 1435, 0x00001f13, 13},
  { -613, 0x00001f1b, 13},  { 1179, 0x00001f17, 13},
  { -869, 0x00001f1f, 13},  { 1454, 0x00007f50, 15},
  { -594, 0x00007f58, 15},  { 1198, 0x00007f54, 15},
  { -850, 0x00007f5c, 15},  { 1438, 0x00007f52, 15},
  { -610, 0x00007f5a, 15},  { 1182, 0x00007f56, 15},
  { -866, 0x00007f5e, 15},  { 1450, 0x00007f51, 15},
  { -598, 0x00007f59, 15},  { 1194, 0x00007f55, 15},
  { -854, 0x00007f5d, 15},  { 1434, 0x00007f53, 15},
  { -614, 0x00007f5b, 15},  { 1178, 0x00007f57, 15},
  { -870, 0x00007f5f, 15},  { 1460, 0x00003ff0, 14},
  { -588, 0x00003ff4, 14},  { 1204, 0x00003ff2, 14},
  { -844, 0x00003ff6, 14},  { 1428, 0x00003ff1, 14},
  { -620, 0x00003ff5, 14},  { 1172, 0x00003ff3, 14},
  { -876, 0x00003ff7, 14},  { 1461, 0x00003f50, 14},
  { -587, 0x00003f58, 14},  { 1205, 0x00003f54, 14},
  { -843, 0x00003f5c, 14},  { 1429, 0x00003f52, 14},
  { -619, 0x00003f5a, 14},  { 1173, 0x00003f56, 14},
  { -875, 0x00003f5e, 14},  { 1459, 0x00003f51, 14},
  { -589, 0x00003f59, 14},  { 1203, 0x00003f55, 14},
  { -845, 0x00003f5d, 14},  { 1427, 0x00003f53, 14},
  { -621, 0x00003f5b, 14},  { 1171, 0x00003f57, 14},
  { -877, 0x00003f5f, 14},  { 1462, 0x00007fc0, 15},
  { -586, 0x00007fc8, 15},  { 1206, 0x00007fc4, 15},
  { -842, 0x00007fcc, 15},  { 1430, 0x00007fc2, 15},
  { -618, 0x00007fca, 15},  { 1174, 0x00007fc6, 15},
  { -874, 0x00007fce, 15},  { 1458, 0x00007fc1, 15},
  { -590, 0x00007fc9, 15},  { 1202, 0x00007fc5, 15},
  { -846, 0x00007fcd, 15},  { 1426, 0x00007fc3, 15},
  { -622, 0x00007fcb, 15},  { 1170, 0x00007fc7, 15},
  { -878, 0x00007fcf, 15}
};

static IppsVLCTable_32s spec_book5[] = {
  {  -60, 0x00001fff, 13},  {  -59, 0x00000ff7, 12},
  {  -58, 0x000007f4, 11},  {  -57, 0x000007e8, 11},
  {  -56, 0x000003f1, 10},  {  -55, 0x000007ee, 11},
  {  -54, 0x000007f9, 11},  {  -53, 0x00000ff8, 12},
  {  -52, 0x00001ffd, 13},  {  -44, 0x00000ffd, 12},
  {  -43, 0x000007f1, 11},  {  -42, 0x000003e8, 10},
  {  -41, 0x000001e8,  9},  {  -40, 0x000000f0,  8},
  {  -39, 0x000001ec,  9},  {  -38, 0x000003ee, 10},
  {  -37, 0x000007f2, 11},  {  -36, 0x00000ffa, 12},
  {  -28, 0x00000ff4, 12},  {  -27, 0x000003ef, 10},
  {  -26, 0x000001f2,  9},  {  -25, 0x000000e8,  8},
  {  -24, 0x00000070,  7},  {  -23, 0x000000ec,  8},
  {  -22, 0x000001f0,  9},  {  -21, 0x000003ea, 10},
  {  -20, 0x000007f3, 11},  {  -12, 0x000007eb, 11},
  {  -11, 0x000001eb,  9},  {  -10, 0x000000ea,  8},
  {   -9, 0x0000001a,  5},  {   -8, 0x00000008,  4},
  {   -7, 0x00000019,  5},  {   -6, 0x000000ee,  8},
  {   -5, 0x000001ef,  9},  {   -4, 0x000007ed, 11},
  {    4, 0x000003f0, 10},  {    5, 0x000000f2,  8},
  {    6, 0x00000073,  7},  {    7, 0x0000000b,  4},
  {    8, 0x00000000,  1},  {    9, 0x0000000a,  4},
  {   10, 0x00000071,  7},  {   11, 0x000000f3,  8},
  {   12, 0x000007e9, 11},  {   20, 0x000007ef, 11},
  {   21, 0x000001ee,  9},  {   22, 0x000000ef,  8},
  {   23, 0x00000018,  5},  {   24, 0x00000009,  4},
  {   25, 0x0000001b,  5},  {   26, 0x000000eb,  8},
  {   27, 0x000001e9,  9},  {   28, 0x000007ec, 11},
  {   36, 0x000007f6, 11},  {   37, 0x000003eb, 10},
  {   38, 0x000001f3,  9},  {   39, 0x000000ed,  8},
  {   40, 0x00000072,  7},  {   41, 0x000000e9,  8},
  {   42, 0x000001f1,  9},  {   43, 0x000003ed, 10},
  {   44, 0x000007f7, 11},  {   52, 0x00000ff6, 12},
  {   53, 0x000007f0, 11},  {   54, 0x000003e9, 10},
  {   55, 0x000001ed,  9},  {   56, 0x000000f1,  8},
  {   57, 0x000001ea,  9},  {   58, 0x000003ec, 10},
  {   59, 0x000007f8, 11},  {   60, 0x00000ff9, 12},
  {   68, 0x00001ffc, 13},  {   69, 0x00000ffc, 12},
  {   70, 0x00000ff5, 12},  {   71, 0x000007ea, 11},
  {   72, 0x000003f3, 10},  {   73, 0x000003f2, 10},
  {   74, 0x000007f5, 11},  {   75, 0x00000ffb, 12},
  {   76, 0x00001ffe, 13}
};

static IppsVLCTable_32s spec_book6[] = {
  {  -60, 0x000007fe, 11},  {  -59, 0x000003fd, 10},
  {  -58, 0x000001f1,  9},  {  -57, 0x000001eb,  9},
  {  -56, 0x000001f4,  9},  {  -55, 0x000001ea,  9},
  {  -54, 0x000001f0,  9},  {  -53, 0x000003fc, 10},
  {  -52, 0x000007fd, 11},  {  -44, 0x000003f6, 10},
  {  -43, 0x000001e5,  9},  {  -42, 0x000000ea,  8},
  {  -41, 0x0000006c,  7},  {  -40, 0x00000071,  7},
  {  -39, 0x00000068,  7},  {  -38, 0x000000f0,  8},
  {  -37, 0x000001e6,  9},  {  -36, 0x000003f7, 10},
  {  -28, 0x000001f3,  9},  {  -27, 0x000000ef,  8},
  {  -26, 0x00000032,  6},  {  -25, 0x00000027,  6},
  {  -24, 0x00000028,  6},  {  -23, 0x00000026,  6},
  {  -22, 0x00000031,  6},  {  -21, 0x000000eb,  8},
  {  -20, 0x000001f7,  9},  {  -12, 0x000001e8,  9},
  {  -11, 0x0000006f,  7},  {  -10, 0x0000002e,  6},
  {   -9, 0x00000008,  4},  {   -8, 0x00000004,  4},
  {   -7, 0x00000006,  4},  {   -6, 0x00000029,  6},
  {   -5, 0x0000006b,  7},  {   -4, 0x000001ee,  9},
  {    4, 0x000001ef,  9},  {    5, 0x00000072,  7},
  {    6, 0x0000002d,  6},  {    7, 0x00000002,  4},
  {    8, 0x00000000,  4},  {    9, 0x00000003,  4},
  {   10, 0x0000002f,  6},  {   11, 0x00000073,  7},
  {   12, 0x000001fa,  9},  {   20, 0x000001e7,  9},
  {   21, 0x0000006e,  7},  {   22, 0x0000002b,  6},
  {   23, 0x00000007,  4},  {   24, 0x00000001,  4},
  {   25, 0x00000005,  4},  {   26, 0x0000002c,  6},
  {   27, 0x0000006d,  7},  {   28, 0x000001ec,  9},
  {   36, 0x000001f9,  9},  {   37, 0x000000ee,  8},
  {   38, 0x00000030,  6},  {   39, 0x00000024,  6},
  {   40, 0x0000002a,  6},  {   41, 0x00000025,  6},
  {   42, 0x00000033,  6},  {   43, 0x000000ec,  8},
  {   44, 0x000001f2,  9},  {   52, 0x000003f8, 10},
  {   53, 0x000001e4,  9},  {   54, 0x000000ed,  8},
  {   55, 0x0000006a,  7},  {   56, 0x00000070,  7},
  {   57, 0x00000069,  7},  {   58, 0x00000074,  7},
  {   59, 0x000000f1,  8},  {   60, 0x000003fa, 10},
  {   68, 0x000007ff, 11},  {   69, 0x000003f9, 10},
  {   70, 0x000001f6,  9},  {   71, 0x000001ed,  9},
  {   72, 0x000001f8,  9},  {   73, 0x000001e9,  9},
  {   74, 0x000001f5,  9},  {   75, 0x000003fb, 10},
  {   76, 0x000007fc, 11}
};

static IppsVLCTable_32s spec_book7[] = {
  {    8, 0x00000000,  1},  {    9, 0x0000000a,  4},
  {    7, 0x0000000b,  4},  {   10, 0x0000006e,  7},
  {    6, 0x0000006f,  7},  {   11, 0x000000e8,  8},
  {    5, 0x000000e9,  8},  {   12, 0x000001e4,  9},
  {    4, 0x000001e5,  9},  {   13, 0x000003d6, 10},
  {    3, 0x000003d7, 10},  {   14, 0x000007da, 11},
  {    2, 0x000007db, 11},  {   15, 0x00000fee, 12},
  {    1, 0x00000fef, 12},  {   24, 0x00000008,  4},
  {   -8, 0x00000009,  4},  {   25, 0x00000030,  6},
  {   -7, 0x00000032,  6},  {   23, 0x00000031,  6},
  {   -9, 0x00000033,  6},  {   26, 0x000000d4,  8},
  {   -6, 0x000000d6,  8},  {   22, 0x000000d5,  8},
  {  -10, 0x000000d7,  8},  {   27, 0x000001c4,  9},
  {   -5, 0x000001c6,  9},  {   21, 0x000001c5,  9},
  {  -11, 0x000001c7,  9},  {   28, 0x000003b0, 10},
  {   -4, 0x000003b2, 10},  {   20, 0x000003b1, 10},
  {  -12, 0x000003b3, 10},  {   29, 0x000003b8, 10},
  {   -3, 0x000003ba, 10},  {   19, 0x000003b9, 10},
  {  -13, 0x000003bb, 10},  {   30, 0x000007b8, 11},
  {   -2, 0x000007ba, 11},  {   18, 0x000007b9, 11},
  {  -14, 0x000007bb, 11},  {   31, 0x000007d4, 11},
  {   -1, 0x000007d6, 11},  {   17, 0x000007d5, 11},
  {  -15, 0x000007d7, 11},  {   40, 0x0000006c,  7},
  {  -24, 0x0000006d,  7},  {   41, 0x000000d0,  8},
  {  -23, 0x000000d2,  8},  {   39, 0x000000d1,  8},
  {  -25, 0x000000d3,  8},  {   42, 0x000001c8,  9},
  {  -22, 0x000001ca,  9},  {   38, 0x000001c9,  9},
  {  -26, 0x000001cb,  9},  {   43, 0x000003a8, 10},
  {  -21, 0x000003aa, 10},  {   37, 0x000003a9, 10},
  {  -27, 0x000003ab, 10},  {   44, 0x000003c4, 10},
  {  -20, 0x000003c6, 10},  {   36, 0x000003c5, 10},
  {  -28, 0x000003c7, 10},  {   45, 0x000007a4, 11},
  {  -19, 0x000007a6, 11},  {   35, 0x000007a5, 11},
  {  -29, 0x000007a7, 11},  {   46, 0x000007cc, 11},
  {  -18, 0x000007ce, 11},  {   34, 0x000007cd, 11},
  {  -30, 0x000007cf, 11},  {   47, 0x00000fd4, 12},
  {  -17, 0x00000fd6, 12},  {   33, 0x00000fd5, 12},
  {  -31, 0x00000fd7, 12},  {   56, 0x000000e6,  8},
  {  -40, 0x000000e7,  8},  {   57, 0x000001c0,  9},
  {  -39, 0x000001c2,  9},  {   55, 0x000001c1,  9},
  {  -41, 0x000001c3,  9},  {   58, 0x000003ac, 10},
  {  -38, 0x000003ae, 10},  {   54, 0x000003ad, 10},
  {  -42, 0x000003af, 10},  {   59, 0x000003c0, 10},
  {  -37, 0x000003c2, 10},  {   53, 0x000003c1, 10},
  {  -43, 0x000003c3, 10},  {   60, 0x000007c4, 11},
  {  -36, 0x000007c6, 11},  {   52, 0x000007c5, 11},
  {  -44, 0x000007c7, 11},  {   61, 0x000007c0, 11},
  {  -35, 0x000007c2, 11},  {   51, 0x000007c1, 11},
  {  -45, 0x000007c3, 11},  {   62, 0x00000fb0, 12},
  {  -34, 0x00000fb2, 12},  {   50, 0x00000fb1, 12},
  {  -46, 0x00000fb3, 12},  {   63, 0x00000fe8, 12},
  {  -33, 0x00000fea, 12},  {   49, 0x00000fe9, 12},
  {  -47, 0x00000feb, 12},  {   72, 0x000001e6,  9},
  {  -56, 0x000001e7,  9},  {   73, 0x000003b4, 10},
  {  -55, 0x000003b6, 10},  {   71, 0x000003b5, 10},
  {  -57, 0x000003b7, 10},  {   74, 0x000007a0, 11},
  {  -54, 0x000007a2, 11},  {   70, 0x000007a1, 11},
  {  -58, 0x000007a3, 11},  {   75, 0x000007bc, 11},
  {  -53, 0x000007be, 11},  {   69, 0x000007bd, 11},
  {  -59, 0x000007bf, 11},  {   76, 0x00000fbc, 12},
  {  -52, 0x00000fbe, 12},  {   68, 0x00000fbd, 12},
  {  -60, 0x00000fbf, 12},  {   77, 0x00000fc4, 12},
  {  -51, 0x00000fc6, 12},  {   67, 0x00000fc5, 12},
  {  -61, 0x00000fc7, 12},  {   78, 0x00000fe4, 12},
  {  -50, 0x00000fe6, 12},  {   66, 0x00000fe5, 12},
  {  -62, 0x00000fe7, 12},  {   79, 0x00001fec, 13},
  {  -49, 0x00001fee, 13},  {   65, 0x00001fed, 13},
  {  -63, 0x00001fef, 13},  {   88, 0x000003da, 10},
  {  -72, 0x000003db, 10},  {   89, 0x000003bc, 10},
  {  -71, 0x000003be, 10},  {   87, 0x000003bd, 10},
  {  -73, 0x000003bf, 10},  {   90, 0x000007a8, 11},
  {  -70, 0x000007aa, 11},  {   86, 0x000007a9, 11},
  {  -74, 0x000007ab, 11},  {   91, 0x000007c8, 11},
  {  -69, 0x000007ca, 11},  {   85, 0x000007c9, 11},
  {  -75, 0x000007cb, 11},  {   92, 0x00000fcc, 12},
  {  -68, 0x00000fce, 12},  {   84, 0x00000fcd, 12},
  {  -76, 0x00000fcf, 12},  {   93, 0x00000fe0, 12},
  {  -67, 0x00000fe2, 12},  {   83, 0x00000fe1, 12},
  {  -77, 0x00000fe3, 12},  {   94, 0x00001fe4, 13},
  {  -66, 0x00001fe6, 13},  {   82, 0x00001fe5, 13},
  {  -78, 0x00001fe7, 13},  {   95, 0x00001ff0, 13},
  {  -65, 0x00001ff2, 13},  {   81, 0x00001ff1, 13},
  {  -79, 0x00001ff3, 13},  {  104, 0x000007dc, 11},
  {  -88, 0x000007dd, 11},  {  105, 0x000007b0, 11},
  {  -87, 0x000007b2, 11},  {  103, 0x000007b1, 11},
  {  -89, 0x000007b3, 11},  {  106, 0x000007d0, 11},
  {  -86, 0x000007d2, 11},  {  102, 0x000007d1, 11},
  {  -90, 0x000007d3, 11},  {  107, 0x00000fd0, 12},
  {  -85, 0x00000fd2, 12},  {  101, 0x00000fd1, 12},
  {  -91, 0x00000fd3, 12},  {  108, 0x00000fdc, 12},
  {  -84, 0x00000fde, 12},  {  100, 0x00000fdd, 12},
  {  -92, 0x00000fdf, 12},  {  109, 0x00001fe0, 13},
  {  -83, 0x00001fe2, 13},  {   99, 0x00001fe1, 13},
  {  -93, 0x00001fe3, 13},  {  110, 0x00003ff4, 14},
  {  -82, 0x00003ff6, 14},  {   98, 0x00003ff5, 14},
  {  -94, 0x00003ff7, 14},  {  111, 0x00003ff8, 14},
  {  -81, 0x00003ffa, 14},  {   97, 0x00003ff9, 14},
  {  -95, 0x00003ffb, 14},  {  120, 0x00000fec, 12},
  { -104, 0x00000fed, 12},  {  121, 0x00000fc0, 12},
  { -103, 0x00000fc2, 12},  {  119, 0x00000fc1, 12},
  { -105, 0x00000fc3, 12},  {  122, 0x00000fc8, 12},
  { -102, 0x00000fca, 12},  {  118, 0x00000fc9, 12},
  { -106, 0x00000fcb, 12},  {  123, 0x00000fd8, 12},
  { -101, 0x00000fda, 12},  {  117, 0x00000fd9, 12},
  { -107, 0x00000fdb, 12},  {  124, 0x00001fe8, 13},
  { -100, 0x00001fea, 13},  {  116, 0x00001fe9, 13},
  { -108, 0x00001feb, 13},  {  125, 0x00001ff4, 13},
  {  -99, 0x00001ff6, 13},  {  115, 0x00001ff5, 13},
  { -109, 0x00001ff7, 13},  {  126, 0x00003ff0, 14},
  {  -98, 0x00003ff2, 14},  {  114, 0x00003ff1, 14},
  { -110, 0x00003ff3, 14},  {  127, 0x00003ffc, 14},
  {  -97, 0x00003ffe, 14},  {  113, 0x00003ffd, 14},
  { -111, 0x00003fff, 14}
};

static IppsVLCTable_32s spec_book8[] = {
  {    8, 0x0000000e,  5},  {    9, 0x0000000a,  5},
  {    7, 0x0000000b,  5},  {   10, 0x00000020,  6},
  {    6, 0x00000021,  6},  {   11, 0x00000060,  7},
  {    5, 0x00000061,  7},  {   12, 0x000000de,  8},
  {    4, 0x000000df,  8},  {   13, 0x000001e2,  9},
  {    3, 0x000001e3,  9},  {   14, 0x000003f4, 10},
  {    2, 0x000003f5, 10},  {   15, 0x000007fc, 11},
  {    1, 0x000007fd, 11},  {   24, 0x00000006,  5},
  {   -8, 0x00000007,  5},  {   25, 0x00000000,  5},
  {   -7, 0x00000002,  5},  {   23, 0x00000001,  5},
  {   -9, 0x00000003,  5},  {   26, 0x00000010,  6},
  {   -6, 0x00000012,  6},  {   22, 0x00000011,  6},
  {  -10, 0x00000013,  6},  {   27, 0x00000048,  7},
  {   -5, 0x0000004a,  7},  {   21, 0x00000049,  7},
  {  -11, 0x0000004b,  7},  {   28, 0x000000b0,  8},
  {   -4, 0x000000b2,  8},  {   20, 0x000000b1,  8},
  {  -12, 0x000000b3,  8},  {   29, 0x000001a8,  9},
  {   -3, 0x000001aa,  9},  {   19, 0x000001a9,  9},
  {  -13, 0x000001ab,  9},  {   30, 0x000001d4,  9},
  {   -2, 0x000001d6,  9},  {   18, 0x000001d5,  9},
  {  -14, 0x000001d7,  9},  {   31, 0x000003e0, 10},
  {   -1, 0x000003e2, 10},  {   17, 0x000003e1, 10},
  {  -15, 0x000003e3, 10},  {   40, 0x0000001e,  6},
  {  -24, 0x0000001f,  6},  {   41, 0x00000008,  6},
  {  -23, 0x0000000a,  6},  {   39, 0x00000009,  6},
  {  -25, 0x0000000b,  6},  {   42, 0x00000018,  6},
  {  -22, 0x0000001a,  6},  {   38, 0x00000019,  6},
  {  -26, 0x0000001b,  6},  {   43, 0x00000050,  7},
  {  -21, 0x00000052,  7},  {   37, 0x00000051,  7},
  {  -27, 0x00000053,  7},  {   44, 0x000000b8,  8},
  {  -20, 0x000000ba,  8},  {   36, 0x000000b9,  8},
  {  -28, 0x000000bb,  8},  {   45, 0x000001a4,  9},
  {  -19, 0x000001a6,  9},  {   35, 0x000001a5,  9},
  {  -29, 0x000001a7,  9},  {   46, 0x000001c8,  9},
  {  -18, 0x000001ca,  9},  {   34, 0x000001c9,  9},
  {  -30, 0x000001cb,  9},  {   47, 0x000003d4, 10},
  {  -17, 0x000003d6, 10},  {   33, 0x000003d5, 10},
  {  -31, 0x000003d7, 10},  {   56, 0x0000005e,  7},
  {  -40, 0x0000005f,  7},  {   57, 0x00000044,  7},
  {  -39, 0x00000046,  7},  {   55, 0x00000045,  7},
  {  -41, 0x00000047,  7},  {   58, 0x0000004c,  7},
  {  -38, 0x0000004e,  7},  {   54, 0x0000004d,  7},
  {  -42, 0x0000004f,  7},  {   59, 0x000000a8,  8},
  {  -37, 0x000000aa,  8},  {   53, 0x000000a9,  8},
  {  -43, 0x000000ab,  8},  {   60, 0x000000c8,  8},
  {  -36, 0x000000ca,  8},  {   52, 0x000000c9,  8},
  {  -44, 0x000000cb,  8},  {   61, 0x000001b0,  9},
  {  -35, 0x000001b2,  9},  {   51, 0x000001b1,  9},
  {  -45, 0x000001b3,  9},  {   62, 0x000003b0, 10},
  {  -34, 0x000003b2, 10},  {   50, 0x000003b1, 10},
  {  -46, 0x000003b3, 10},  {   63, 0x000003e8, 10},
  {  -33, 0x000003ea, 10},  {   49, 0x000003e9, 10},
  {  -47, 0x000003eb, 10},  {   72, 0x000000e2,  8},
  {  -56, 0x000000e3,  8},  {   73, 0x000000ac,  8},
  {  -55, 0x000000ae,  8},  {   71, 0x000000ad,  8},
  {  -57, 0x000000af,  8},  {   74, 0x000000b4,  8},
  {  -54, 0x000000b6,  8},  {   70, 0x000000b5,  8},
  {  -58, 0x000000b7,  8},  {   75, 0x000000c4,  8},
  {  -53, 0x000000c6,  8},  {   69, 0x000000c5,  8},
  {  -59, 0x000000c7,  8},  {   76, 0x000001b4,  9},
  {  -52, 0x000001b6,  9},  {   68, 0x000001b5,  9},
  {  -60, 0x000001b7,  9},  {   77, 0x000001c0,  9},
  {  -51, 0x000001c2,  9},  {   67, 0x000001c1,  9},
  {  -61, 0x000001c3,  9},  {   78, 0x000003c8, 10},
  {  -50, 0x000003ca, 10},  {   66, 0x000003c9, 10},
  {  -62, 0x000003cb, 10},  {   79, 0x000007e4, 11},
  {  -49, 0x000007e6, 11},  {   65, 0x000007e5, 11},
  {  -63, 0x000007e7, 11},  {   88, 0x000001de,  9},
  {  -72, 0x000001df,  9},  {   89, 0x000001a0,  9},
  {  -71, 0x000001a2,  9},  {   87, 0x000001a1,  9},
  {  -73, 0x000001a3,  9},  {   90, 0x000000cc,  8},
  {  -70, 0x000000ce,  8},  {   86, 0x000000cd,  8},
  {  -74, 0x000000cf,  8},  {   91, 0x000001ac,  9},
  {  -69, 0x000001ae,  9},  {   85, 0x000001ad,  9},
  {  -75, 0x000001af,  9},  {   92, 0x000001b8,  9},
  {  -68, 0x000001ba,  9},  {   84, 0x000001b9,  9},
  {  -76, 0x000001bb,  9},  {   93, 0x000003b8, 10},
  {  -67, 0x000003ba, 10},  {   83, 0x000003b9, 10},
  {  -77, 0x000003bb, 10},  {   94, 0x000003e4, 10},
  {  -66, 0x000003e6, 10},  {   82, 0x000003e5, 10},
  {  -78, 0x000003e7, 10},  {   95, 0x00000ff0, 12},
  {  -65, 0x00000ff2, 12},  {   81, 0x00000ff1, 12},
  {  -79, 0x00000ff3, 12},  {  104, 0x000003f0, 10},
  {  -88, 0x000003f1, 10},  {  105, 0x000001d0,  9},
  {  -87, 0x000001d2,  9},  {  103, 0x000001d1,  9},
  {  -89, 0x000001d3,  9},  {  106, 0x000001cc,  9},
  {  -86, 0x000001ce,  9},  {  102, 0x000001cd,  9},
  {  -90, 0x000001cf,  9},  {  107, 0x000003b4, 10},
  {  -85, 0x000003b6, 10},  {  101, 0x000003b5, 10},
  {  -91, 0x000003b7, 10},  {  108, 0x000003c0, 10},
  {  -84, 0x000003c2, 10},  {  100, 0x000003c1, 10},
  {  -92, 0x000003c3, 10},  {  109, 0x000003d8, 10},
  {  -83, 0x000003da, 10},  {   99, 0x000003d9, 10},
  {  -93, 0x000003db, 10},  {  110, 0x000007d8, 11},
  {  -82, 0x000007da, 11},  {   98, 0x000007d9, 11},
  {  -94, 0x000007db, 11},  {  111, 0x000007f4, 11},
  {  -81, 0x000007f6, 11},  {   97, 0x000007f5, 11},
  {  -95, 0x000007f7, 11},  {  120, 0x000007fa, 11},
  { -104, 0x000007fb, 11},  {  121, 0x000003cc, 10},
  { -103, 0x000003ce, 10},  {  119, 0x000003cd, 10},
  { -105, 0x000003cf, 10},  {  122, 0x000003d0, 10},
  { -102, 0x000003d2, 10},  {  118, 0x000003d1, 10},
  { -106, 0x000003d3, 10},  {  123, 0x000003dc, 10},
  { -101, 0x000003de, 10},  {  117, 0x000003dd, 10},
  { -107, 0x000003df, 10},  {  124, 0x000007dc, 11},
  { -100, 0x000007de, 11},  {  116, 0x000007dd, 11},
  { -108, 0x000007df, 11},  {  125, 0x000007ec, 11},
  {  -99, 0x000007ee, 11},  {  115, 0x000007ed, 11},
  { -109, 0x000007ef, 11},  {  126, 0x000007f0, 11},
  {  -98, 0x000007f2, 11},  {  114, 0x000007f1, 11},
  { -110, 0x000007f3, 11},  {  127, 0x00000ffc, 12},
  {  -97, 0x00000ffe, 12},  {  113, 0x00000ffd, 12},
  { -111, 0x00000fff, 12}
};

static IppsVLCTable_32s spec_book9[] = {
  {   16, 0x00000000,  1},  {   17, 0x0000000a,  4},
  {   15, 0x0000000b,  4},  {   18, 0x0000006e,  7},
  {   14, 0x0000006f,  7},  {   19, 0x000001ce,  9},
  {   13, 0x000001cf,  9},  {   20, 0x000003bc, 10},
  {   12, 0x000003bd, 10},  {   21, 0x0000079c, 11},
  {   11, 0x0000079d, 11},  {   22, 0x000007b2, 11},
  {   10, 0x000007b3, 11},  {   23, 0x00000f90, 12},
  {    9, 0x00000f91, 12},  {   24, 0x00000f9a, 12},
  {    8, 0x00000f9b, 12},  {   25, 0x00001f90, 13},
  {    7, 0x00001f91, 13},  {   26, 0x00001fba, 13},
  {    6, 0x00001fbb, 13},  {   27, 0x00003fc8, 14},
  {    5, 0x00003fc9, 14},  {   28, 0x00003fd8, 14},
  {    4, 0x00003fd9, 14},  {   48, 0x00000008,  4},
  {  -16, 0x00000009,  4},  {   49, 0x00000030,  6},
  {  -15, 0x00000032,  6},  {   47, 0x00000031,  6},
  {  -17, 0x00000033,  6},  {   50, 0x000000d4,  8},
  {  -14, 0x000000d6,  8},  {   46, 0x000000d5,  8},
  {  -18, 0x000000d7,  8},  {   51, 0x000001c8,  9},
  {  -13, 0x000001ca,  9},  {   45, 0x000001c9,  9},
  {  -19, 0x000001cb,  9},  {   52, 0x000003a8, 10},
  {  -12, 0x000003aa, 10},  {   44, 0x000003a9, 10},
  {  -20, 0x000003ab, 10},  {   53, 0x000003b4, 10},
  {  -11, 0x000003b6, 10},  {   43, 0x000003b5, 10},
  {  -21, 0x000003b7, 10},  {   54, 0x00000788, 11},
  {  -10, 0x0000078a, 11},  {   42, 0x00000789, 11},
  {  -22, 0x0000078b, 11},  {   55, 0x00000f44, 12},
  {   -9, 0x00000f46, 12},  {   41, 0x00000f45, 12},
  {  -23, 0x00000f47, 12},  {   56, 0x00000f4c, 12},
  {   -8, 0x00000f4e, 12},  {   40, 0x00000f4d, 12},
  {  -24, 0x00000f4f, 12},  {   57, 0x00000f80, 12},
  {   -7, 0x00000f82, 12},  {   39, 0x00000f81, 12},
  {  -25, 0x00000f83, 12},  {   58, 0x00001f60, 13},
  {   -6, 0x00001f62, 13},  {   38, 0x00001f61, 13},
  {  -26, 0x00001f63, 13},  {   59, 0x00003f3c, 14},
  {   -5, 0x00003f3e, 14},  {   37, 0x00003f3d, 14},
  {  -27, 0x00003f3f, 14},  {   60, 0x00003f54, 14},
  {   -4, 0x00003f56, 14},  {   36, 0x00003f55, 14},
  {  -28, 0x00003f57, 14},  {   80, 0x0000006c,  7},
  {  -48, 0x0000006d,  7},  {   81, 0x000000d0,  8},
  {  -47, 0x000000d2,  8},  {   79, 0x000000d1,  8},
  {  -49, 0x000000d3,  8},  {   82, 0x000001c4,  9},
  {  -46, 0x000001c6,  9},  {   78, 0x000001c5,  9},
  {  -50, 0x000001c7,  9},  {   83, 0x000003a0, 10},
  {  -45, 0x000003a2, 10},  {   77, 0x000003a1, 10},
  {  -51, 0x000003a3, 10},  {   84, 0x000003b0, 10},
  {  -44, 0x000003b2, 10},  {   76, 0x000003b1, 10},
  {  -52, 0x000003b3, 10},  {   85, 0x00000784, 11},
  {  -43, 0x00000786, 11},  {   75, 0x00000785, 11},
  {  -53, 0x00000787, 11},  {   86, 0x00000f3c, 12},
  {  -42, 0x00000f3e, 12},  {   74, 0x00000f3d, 12},
  {  -54, 0x00000f3f, 12},  {   87, 0x00000f74, 12},
  {  -41, 0x00000f76, 12},  {   73, 0x00000f75, 12},
  {  -55, 0x00000f77, 12},  {   88, 0x00000f6c, 12},
  {  -40, 0x00000f6e, 12},  {   72, 0x00000f6d, 12},
  {  -56, 0x00000f6f, 12},  {   89, 0x00001f40, 13},
  {  -39, 0x00001f42, 13},  {   71, 0x00001f41, 13},
  {  -57, 0x00001f43, 13},  {   90, 0x00003f1c, 14},
  {  -38, 0x00003f1e, 14},  {   70, 0x00003f1d, 14},
  {  -58, 0x00003f1f, 14},  {   91, 0x00003f50, 14},
  {  -37, 0x00003f52, 14},  {   69, 0x00003f51, 14},
  {  -59, 0x00003f53, 14},  {   92, 0x00003f90, 14},
  {  -36, 0x00003f92, 14},  {   68, 0x00003f91, 14},
  {  -60, 0x00003f93, 14},  {  112, 0x000001cc,  9},
  {  -80, 0x000001cd,  9},  {  113, 0x000001c0,  9},
  {  -79, 0x000001c2,  9},  {  111, 0x000001c1,  9},
  {  -81, 0x000001c3,  9},  {  114, 0x000003a4, 10},
  {  -78, 0x000003a6, 10},  {  110, 0x000003a5, 10},
  {  -82, 0x000003a7, 10},  {  115, 0x00000774, 11},
  {  -77, 0x00000776, 11},  {  109, 0x00000775, 11},
  {  -83, 0x00000777, 11},  {  116, 0x0000078c, 11},
  {  -76, 0x0000078e, 11},  {  108, 0x0000078d, 11},
  {  -84, 0x0000078f, 11},  {  117, 0x00000f48, 12},
  {  -75, 0x00000f4a, 12},  {  107, 0x00000f49, 12},
  {  -85, 0x00000f4b, 12},  {  118, 0x00000f70, 12},
  {  -74, 0x00000f72, 12},  {  106, 0x00000f71, 12},
  {  -86, 0x00000f73, 12},  {  119, 0x00001f30, 13},
  {  -73, 0x00001f32, 13},  {  105, 0x00001f31, 13},
  {  -87, 0x00001f33, 13},  {  120, 0x00001f28, 13},
  {  -72, 0x00001f2a, 13},  {  104, 0x00001f29, 13},
  {  -88, 0x00001f2b, 13},  {  121, 0x00001f78, 13},
  {  -71, 0x00001f7a, 13},  {  103, 0x00001f79, 13},
  {  -89, 0x00001f7b, 13},  {  122, 0x00003f60, 14},
  {  -70, 0x00003f62, 14},  {  102, 0x00003f61, 14},
  {  -90, 0x00003f63, 14},  {  123, 0x00003fa8, 14},
  {  -69, 0x00003faa, 14},  {  101, 0x00003fa9, 14},
  {  -91, 0x00003fab, 14},  {  124, 0x00007f6c, 15},
  {  -68, 0x00007f6e, 15},  {  100, 0x00007f6d, 15},
  {  -92, 0x00007f6f, 15},  {  144, 0x000003be, 10},
  { -112, 0x000003bf, 10},  {  145, 0x000003ac, 10},
  { -111, 0x000003ae, 10},  {  143, 0x000003ad, 10},
  { -113, 0x000003af, 10},  {  146, 0x00000770, 11},
  { -110, 0x00000772, 11},  {  142, 0x00000771, 11},
  { -114, 0x00000773, 11},  {  147, 0x00000798, 11},
  { -109, 0x0000079a, 11},  {  141, 0x00000799, 11},
  { -115, 0x0000079b, 11},  {  148, 0x00000f54, 12},
  { -108, 0x00000f56, 12},  {  140, 0x00000f55, 12},
  { -116, 0x00000f57, 12},  {  149, 0x00000f78, 12},
  { -107, 0x00000f7a, 12},  {  139, 0x00000f79, 12},
  { -117, 0x00000f7b, 12},  {  150, 0x00001f2c, 13},
  { -106, 0x00001f2e, 13},  {  138, 0x00001f2d, 13},
  { -118, 0x00001f2f, 13},  {  151, 0x00001f74, 13},
  { -105, 0x00001f76, 13},  {  137, 0x00001f75, 13},
  { -119, 0x00001f77, 13},  {  152, 0x00001f70, 13},
  { -104, 0x00001f72, 13},  {  136, 0x00001f71, 13},
  { -120, 0x00001f73, 13},  {  153, 0x00003f34, 14},
  { -103, 0x00003f36, 14},  {  135, 0x00003f35, 14},
  { -121, 0x00003f37, 14},  {  154, 0x00003f88, 14},
  { -102, 0x00003f8a, 14},  {  134, 0x00003f89, 14},
  { -122, 0x00003f8b, 14},  {  155, 0x00003f9c, 14},
  { -101, 0x00003f9e, 14},  {  133, 0x00003f9d, 14},
  { -123, 0x00003f9f, 14},  {  156, 0x00007f84, 15},
  { -100, 0x00007f86, 15},  {  132, 0x00007f85, 15},
  { -124, 0x00007f87, 15},  {  176, 0x000007a0, 11},
  { -144, 0x000007a1, 11},  {  177, 0x00000780, 11},
  { -143, 0x00000782, 11},  {  175, 0x00000781, 11},
  { -145, 0x00000783, 11},  {  178, 0x00000790, 11},
  { -142, 0x00000792, 11},  {  174, 0x00000791, 11},
  { -146, 0x00000793, 11},  {  179, 0x00000f58, 12},
  { -141, 0x00000f5a, 12},  {  173, 0x00000f59, 12},
  { -147, 0x00000f5b, 12},  {  180, 0x00001f14, 13},
  { -140, 0x00001f16, 13},  {  172, 0x00001f15, 13},
  { -148, 0x00001f17, 13},  {  181, 0x00001f44, 13},
  { -139, 0x00001f46, 13},  {  171, 0x00001f45, 13},
  { -149, 0x00001f47, 13},  {  182, 0x00001f6c, 13},
  { -138, 0x00001f6e, 13},  {  170, 0x00001f6d, 13},
  { -150, 0x00001f6f, 13},  {  183, 0x00003f48, 14},
  { -137, 0x00003f4a, 14},  {  169, 0x00003f49, 14},
  { -151, 0x00003f4b, 14},  {  184, 0x00001f80, 13},
  { -136, 0x00001f82, 13},  {  168, 0x00001f81, 13},
  { -152, 0x00001f83, 13},  {  185, 0x00003f64, 14},
  { -135, 0x00003f66, 14},  {  167, 0x00003f65, 14},
  { -153, 0x00003f67, 14},  {  186, 0x00003fac, 14},
  { -134, 0x00003fae, 14},  {  166, 0x00003fad, 14},
  { -154, 0x00003faf, 14},  {  187, 0x00007f8c, 15},
  { -133, 0x00007f8e, 15},  {  165, 0x00007f8d, 15},
  { -155, 0x00007f8f, 15},  {  188, 0x00007fa4, 15},
  { -132, 0x00007fa6, 15},  {  164, 0x00007fa5, 15},
  { -156, 0x00007fa7, 15},  {  208, 0x00000f88, 12},
  { -176, 0x00000f89, 12},  {  209, 0x00000794, 11},
  { -175, 0x00000796, 11},  {  207, 0x00000795, 11},
  { -177, 0x00000797, 11},  {  210, 0x00000f5c, 12},
  { -174, 0x00000f5e, 12},  {  206, 0x00000f5d, 12},
  { -178, 0x00000f5f, 12},  {  211, 0x00001f18, 13},
  { -173, 0x00001f1a, 13},  {  205, 0x00001f19, 13},
  { -179, 0x00001f1b, 13},  {  212, 0x00001f3c, 13},
  { -172, 0x00001f3e, 13},  {  204, 0x00001f3d, 13},
  { -180, 0x00001f3f, 13},  {  213, 0x00001f68, 13},
  { -171, 0x00001f6a, 13},  {  203, 0x00001f69, 13},
  { -181, 0x00001f6b, 13},  {  214, 0x00003f2c, 14},
  { -170, 0x00003f2e, 14},  {  202, 0x00003f2d, 14},
  { -182, 0x00003f2f, 14},  {  215, 0x00003f68, 14},
  { -169, 0x00003f6a, 14},  {  201, 0x00003f69, 14},
  { -183, 0x00003f6b, 14},  {  216, 0x00003f8c, 14},
  { -168, 0x00003f8e, 14},  {  200, 0x00003f8d, 14},
  { -184, 0x00003f8f, 14},  {  217, 0x00003fa4, 14},
  { -167, 0x00003fa6, 14},  {  199, 0x00003fa5, 14},
  { -185, 0x00003fa7, 14},  {  218, 0x00007f98, 15},
  { -166, 0x00007f9a, 15},  {  198, 0x00007f99, 15},
  { -186, 0x00007f9b, 15},  {  219, 0x00007fcc, 15},
  { -165, 0x00007fce, 15},  {  197, 0x00007fcd, 15},
  { -187, 0x00007fcf, 15},  {  220, 0x00007fdc, 15},
  { -164, 0x00007fde, 15},  {  196, 0x00007fdd, 15},
  { -188, 0x00007fdf, 15},  {  240, 0x00000fa6, 12},
  { -208, 0x00000fa7, 12},  {  241, 0x00000f60, 12},
  { -207, 0x00000f62, 12},  {  239, 0x00000f61, 12},
  { -209, 0x00000f63, 12},  {  242, 0x00000f84, 12},
  { -206, 0x00000f86, 12},  {  238, 0x00000f85, 12},
  { -210, 0x00000f87, 12},  {  243, 0x00001f50, 13},
  { -205, 0x00001f52, 13},  {  237, 0x00001f51, 13},
  { -211, 0x00001f53, 13},  {  244, 0x00001f64, 13},
  { -204, 0x00001f66, 13},  {  236, 0x00001f65, 13},
  { -212, 0x00001f67, 13},  {  245, 0x00003f4c, 14},
  { -203, 0x00003f4e, 14},  {  235, 0x00003f4d, 14},
  { -213, 0x00003f4f, 14},  {  246, 0x00003f78, 14},
  { -202, 0x00003f7a, 14},  {  234, 0x00003f79, 14},
  { -214, 0x00003f7b, 14},  {  247, 0x00007f74, 15},
  { -201, 0x00007f76, 15},  {  233, 0x00007f75, 15},
  { -215, 0x00007f77, 15},  {  248, 0x00007f64, 15},
  { -200, 0x00007f66, 15},  {  232, 0x00007f65, 15},
  { -216, 0x00007f67, 15},  {  249, 0x00007f88, 15},
  { -199, 0x00007f8a, 15},  {  231, 0x00007f89, 15},
  { -217, 0x00007f8b, 15},  {  250, 0x00007fa8, 15},
  { -198, 0x00007faa, 15},  {  230, 0x00007fa9, 15},
  { -218, 0x00007fab, 15},  {  251, 0x00007fc4, 15},
  { -197, 0x00007fc6, 15},  {  229, 0x00007fc5, 15},
  { -219, 0x00007fc7, 15},  {  252, 0x00007fd8, 15},
  { -196, 0x00007fda, 15},  {  228, 0x00007fd9, 15},
  { -220, 0x00007fdb, 15},  {  272, 0x00000fa4, 12},
  { -240, 0x00000fa5, 12},  {  273, 0x00000f50, 12},
  { -239, 0x00000f52, 12},  {  271, 0x00000f51, 12},
  { -241, 0x00000f53, 12},  {  274, 0x00000f68, 12},
  { -238, 0x00000f6a, 12},  {  270, 0x00000f69, 12},
  { -242, 0x00000f6b, 12},  {  275, 0x00001f1c, 13},
  { -237, 0x00001f1e, 13},  {  269, 0x00001f1d, 13},
  { -243, 0x00001f1f, 13},  {  276, 0x00001f5c, 13},
  { -236, 0x00001f5e, 13},  {  268, 0x00001f5d, 13},
  { -244, 0x00001f5f, 13},  {  277, 0x00001f88, 13},
  { -235, 0x00001f8a, 13},  {  267, 0x00001f89, 13},
  { -245, 0x00001f8b, 13},  {  278, 0x00003f38, 14},
  { -234, 0x00003f3a, 14},  {  266, 0x00003f39, 14},
  { -246, 0x00003f3b, 14},  {  279, 0x00003f6c, 14},
  { -233, 0x00003f6e, 14},  {  265, 0x00003f6d, 14},
  { -247, 0x00003f6f, 14},  {  280, 0x00007f60, 15},
  { -232, 0x00007f62, 15},  {  264, 0x00007f61, 15},
  { -248, 0x00007f63, 15},  {  281, 0x00007fb8, 15},
  { -231, 0x00007fba, 15},  {  263, 0x00007fb9, 15},
  { -249, 0x00007fbb, 15},  {  282, 0x0000ffc0, 16},
  { -230, 0x0000ffc2, 16},  {  262, 0x0000ffc1, 16},
  { -250, 0x0000ffc3, 16},  {  283, 0x00007fd0, 15},
  { -229, 0x00007fd2, 15},  {  261, 0x00007fd1, 15},
  { -251, 0x00007fd3, 15},  {  284, 0x0000ffc8, 16},
  { -228, 0x0000ffca, 16},  {  260, 0x0000ffc9, 16},
  { -252, 0x0000ffcb, 16},  {  304, 0x00000fc2, 12},
  { -272, 0x00000fc3, 12},  {  305, 0x00000f7c, 12},
  { -271, 0x00000f7e, 12},  {  303, 0x00000f7d, 12},
  { -273, 0x00000f7f, 12},  {  306, 0x00001f24, 13},
  { -270, 0x00001f26, 13},  {  302, 0x00001f25, 13},
  { -274, 0x00001f27, 13},  {  307, 0x00001f58, 13},
  { -269, 0x00001f5a, 13},  {  301, 0x00001f59, 13},
  { -275, 0x00001f5b, 13},  {  308, 0x00003f28, 14},
  { -268, 0x00003f2a, 14},  {  300, 0x00003f29, 14},
  { -276, 0x00003f2b, 14},  {  309, 0x00003f40, 14},
  { -267, 0x00003f42, 14},  {  299, 0x00003f41, 14},
  { -277, 0x00003f43, 14},  {  310, 0x00003f94, 14},
  { -266, 0x00003f96, 14},  {  298, 0x00003f95, 14},
  { -278, 0x00003f97, 14},  {  311, 0x00003f98, 14},
  { -265, 0x00003f9a, 14},  {  297, 0x00003f99, 14},
  { -279, 0x00003f9b, 14},  {  312, 0x00007fac, 15},
  { -264, 0x00007fae, 15},  {  296, 0x00007fad, 15},
  { -280, 0x00007faf, 15},  {  313, 0x00007fbc, 15},
  { -263, 0x00007fbe, 15},  {  295, 0x00007fbd, 15},
  { -281, 0x00007fbf, 15},  {  314, 0x0000ffcc, 16},
  { -262, 0x0000ffce, 16},  {  294, 0x0000ffcd, 16},
  { -282, 0x0000ffcf, 16},  {  315, 0x0000ffd0, 16},
  { -261, 0x0000ffd2, 16},  {  293, 0x0000ffd1, 16},
  { -283, 0x0000ffd3, 16},  {  316, 0x0000ffd4, 16},
  { -260, 0x0000ffd6, 16},  {  292, 0x0000ffd5, 16},
  { -284, 0x0000ffd7, 16},  {  336, 0x00001fc0, 13},
  { -304, 0x00001fc1, 13},  {  337, 0x00001f38, 13},
  { -303, 0x00001f3a, 13},  {  335, 0x00001f39, 13},
  { -305, 0x00001f3b, 13},  {  338, 0x00001f54, 13},
  { -302, 0x00001f56, 13},  {  334, 0x00001f55, 13},
  { -306, 0x00001f57, 13},  {  339, 0x00003f18, 14},
  { -301, 0x00003f1a, 14},  {  333, 0x00003f19, 14},
  { -307, 0x00003f1b, 14},  {  340, 0x00003f44, 14},
  { -300, 0x00003f46, 14},  {  332, 0x00003f45, 14},
  { -308, 0x00003f47, 14},  {  341, 0x00003f84, 14},
  { -299, 0x00003f86, 14},  {  331, 0x00003f85, 14},
  { -309, 0x00003f87, 14},  {  342, 0x00007f80, 15},
  { -298, 0x00007f82, 15},  {  330, 0x00007f81, 15},
  { -310, 0x00007f83, 15},  {  343, 0x00007fa0, 15},
  { -297, 0x00007fa2, 15},  {  329, 0x00007fa1, 15},
  { -311, 0x00007fa3, 15},  {  344, 0x00007fc0, 15},
  { -296, 0x00007fc2, 15},  {  328, 0x00007fc1, 15},
  { -312, 0x00007fc3, 15},  {  345, 0x0000ffc4, 16},
  { -295, 0x0000ffc6, 16},  {  327, 0x0000ffc5, 16},
  { -313, 0x0000ffc7, 16},  {  346, 0x0000ffe0, 16},
  { -294, 0x0000ffe2, 16},  {  326, 0x0000ffe1, 16},
  { -314, 0x0000ffe3, 16},  {  347, 0x0000ffd8, 16},
  { -293, 0x0000ffda, 16},  {  325, 0x0000ffd9, 16},
  { -315, 0x0000ffdb, 16},  {  348, 0x0001fff0, 17},
  { -292, 0x0001fff2, 17},  {  324, 0x0001fff1, 17},
  { -316, 0x0001fff3, 17},  {  368, 0x00001fd0, 13},
  { -336, 0x00001fd1, 13},  {  369, 0x00001f7c, 13},
  { -335, 0x00001f7e, 13},  {  367, 0x00001f7d, 13},
  { -337, 0x00001f7f, 13},  {  370, 0x00003f24, 14},
  { -334, 0x00003f26, 14},  {  366, 0x00003f25, 14},
  { -338, 0x00003f27, 14},  {  371, 0x00003f5c, 14},
  { -333, 0x00003f5e, 14},  {  365, 0x00003f5d, 14},
  { -339, 0x00003f5f, 14},  {  372, 0x00003f70, 14},
  { -332, 0x00003f72, 14},  {  364, 0x00003f71, 14},
  { -340, 0x00003f73, 14},  {  373, 0x00007f70, 15},
  { -331, 0x00007f72, 15},  {  363, 0x00007f71, 15},
  { -341, 0x00007f73, 15},  {  374, 0x00007f7c, 15},
  { -330, 0x00007f7e, 15},  {  362, 0x00007f7d, 15},
  { -342, 0x00007f7f, 15},  {  375, 0x00007fb4, 15},
  { -329, 0x00007fb6, 15},  {  361, 0x00007fb5, 15},
  { -343, 0x00007fb7, 15},  {  376, 0x00007fd4, 15},
  { -328, 0x00007fd6, 15},  {  360, 0x00007fd5, 15},
  { -344, 0x00007fd7, 15},  {  377, 0x0000ffe4, 16},
  { -327, 0x0000ffe6, 16},  {  359, 0x0000ffe5, 16},
  { -345, 0x0000ffe7, 16},  {  378, 0x0000ffec, 16},
  { -326, 0x0000ffee, 16},  {  358, 0x0000ffed, 16},
  { -346, 0x0000ffef, 16},  {  379, 0x0001fff4, 17},
  { -325, 0x0001fff6, 17},  {  357, 0x0001fff5, 17},
  { -347, 0x0001fff7, 17},  {  380, 0x0001fff8, 17},
  { -324, 0x0001fffa, 17},  {  356, 0x0001fff9, 17},
  { -348, 0x0001fffb, 17},  {  400, 0x00003fce, 14},
  { -368, 0x00003fcf, 14},  {  401, 0x00003f30, 14},
  { -367, 0x00003f32, 14},  {  399, 0x00003f31, 14},
  { -369, 0x00003f33, 14},  {  402, 0x00003f58, 14},
  { -366, 0x00003f5a, 14},  {  398, 0x00003f59, 14},
  { -370, 0x00003f5b, 14},  {  403, 0x00003f7c, 14},
  { -365, 0x00003f7e, 14},  {  397, 0x00003f7d, 14},
  { -371, 0x00003f7f, 14},  {  404, 0x00007f78, 15},
  { -364, 0x00007f7a, 15},  {  396, 0x00007f79, 15},
  { -372, 0x00007f7b, 15},  {  405, 0x00007f68, 15},
  { -363, 0x00007f6a, 15},  {  395, 0x00007f69, 15},
  { -373, 0x00007f6b, 15},  {  406, 0x00007f94, 15},
  { -362, 0x00007f96, 15},  {  394, 0x00007f95, 15},
  { -374, 0x00007f97, 15},  {  407, 0x00007fc8, 15},
  { -361, 0x00007fca, 15},  {  393, 0x00007fc9, 15},
  { -375, 0x00007fcb, 15},  {  408, 0x0000ffe8, 16},
  { -360, 0x0000ffea, 16},  {  392, 0x0000ffe9, 16},
  { -376, 0x0000ffeb, 16},  {  409, 0x0000ffdc, 16},
  { -359, 0x0000ffde, 16},  {  391, 0x0000ffdd, 16},
  { -377, 0x0000ffdf, 16},  {  410, 0x0000fff0, 16},
  { -358, 0x0000fff2, 16},  {  390, 0x0000fff1, 16},
  { -378, 0x0000fff3, 16},  {  411, 0x0000fff4, 16},
  { -357, 0x0000fff6, 16},  {  389, 0x0000fff5, 16},
  { -379, 0x0000fff7, 16},  {  412, 0x0001fffc, 17},
  { -356, 0x0001fffe, 17},  {  388, 0x0001fffd, 17},
  { -380, 0x0001ffff, 17}
};

static IppsVLCTable_32s spec_book10[] = {
  {   16, 0x00000022,  6},  {   17, 0x00000010,  6},
  {   15, 0x00000011,  6},  {   18, 0x0000003a,  7},
  {   14, 0x0000003b,  7},  {   19, 0x0000004c,  7},
  {   13, 0x0000004d,  7},  {   20, 0x000000be,  8},
  {   12, 0x000000bf,  8},  {   21, 0x000001a6,  9},
  {   11, 0x000001a7,  9},  {   22, 0x0000039e, 10},
  {   10, 0x0000039f, 10},  {   23, 0x000007a0, 11},
  {    9, 0x000007a1, 11},  {   24, 0x000007ae, 11},
  {    8, 0x000007af, 11},  {   25, 0x000007da, 11},
  {    7, 0x000007db, 11},  {   26, 0x00000fe0, 12},
  {    6, 0x00000fe1, 12},  {   27, 0x00000fec, 12},
  {    5, 0x00000fed, 12},  {   28, 0x00001ffa, 13},
  {    4, 0x00001ffb, 13},  {   48, 0x0000000e,  6},
  {  -16, 0x0000000f,  6},  {   49, 0x00000000,  6},
  {  -15, 0x00000002,  6},  {   47, 0x00000001,  6},
  {  -17, 0x00000003,  6},  {   50, 0x00000004,  6},
  {  -14, 0x00000006,  6},  {   46, 0x00000005,  6},
  {  -18, 0x00000007,  6},  {   51, 0x00000024,  7},
  {  -13, 0x00000026,  7},  {   45, 0x00000025,  7},
  {  -19, 0x00000027,  7},  {   52, 0x00000080,  8},
  {  -12, 0x00000082,  8},  {   44, 0x00000081,  8},
  {  -20, 0x00000083,  8},  {   53, 0x00000150,  9},
  {  -11, 0x00000152,  9},  {   43, 0x00000151,  9},
  {  -21, 0x00000153,  9},  {   54, 0x00000180,  9},
  {  -10, 0x00000182,  9},  {   42, 0x00000181,  9},
  {  -22, 0x00000183,  9},  {   55, 0x00000354, 10},
  {   -9, 0x00000356, 10},  {   41, 0x00000355, 10},
  {  -23, 0x00000357, 10},  {   56, 0x00000370, 10},
  {   -8, 0x00000372, 10},  {   40, 0x00000371, 10},
  {  -24, 0x00000373, 10},  {   57, 0x00000750, 11},
  {   -7, 0x00000752, 11},  {   39, 0x00000751, 11},
  {  -25, 0x00000753, 11},  {   58, 0x00000f34, 12},
  {   -6, 0x00000f36, 12},  {   38, 0x00000f35, 12},
  {  -26, 0x00000f37, 12},  {   59, 0x00000f78, 12},
  {   -5, 0x00000f7a, 12},  {   37, 0x00000f79, 12},
  {  -27, 0x00000f7b, 12},  {   60, 0x00001f9c, 13},
  {   -4, 0x00001f9e, 13},  {   36, 0x00001f9d, 13},
  {  -28, 0x00001f9f, 13},  {   80, 0x00000038,  7},
  {  -48, 0x00000039,  7},  {   81, 0x00000008,  6},
  {  -47, 0x0000000a,  6},  {   79, 0x00000009,  6},
  {  -49, 0x0000000b,  6},  {   82, 0x00000018,  7},
  {  -46, 0x0000001a,  7},  {   78, 0x00000019,  7},
  {  -50, 0x0000001b,  7},  {   83, 0x00000030,  7},
  {  -45, 0x00000032,  7},  {   77, 0x00000031,  7},
  {  -51, 0x00000033,  7},  {   84, 0x00000078,  8},
  {  -44, 0x0000007a,  8},  {   76, 0x00000079,  8},
  {  -52, 0x0000007b,  8},  {   85, 0x000000a0,  8},
  {  -43, 0x000000a2,  8},  {   75, 0x000000a1,  8},
  {  -53, 0x000000a3,  8},  {   86, 0x0000016c,  9},
  {  -42, 0x0000016e,  9},  {   74, 0x0000016d,  9},
  {  -54, 0x0000016f,  9},  {   87, 0x00000334, 10},
  {  -41, 0x00000336, 10},  {   73, 0x00000335, 10},
  {  -55, 0x00000337, 10},  {   88, 0x00000364, 10},
  {  -40, 0x00000366, 10},  {   72, 0x00000365, 10},
  {  -56, 0x00000367, 10},  {   89, 0x00000738, 11},
  {  -39, 0x0000073a, 11},  {   71, 0x00000739, 11},
  {  -57, 0x0000073b, 11},  {   90, 0x00000770, 11},
  {  -38, 0x00000772, 11},  {   70, 0x00000771, 11},
  {  -58, 0x00000773, 11},  {   91, 0x00000f64, 12},
  {  -37, 0x00000f66, 12},  {   69, 0x00000f65, 12},
  {  -59, 0x00000f67, 12},  {   92, 0x00000fc4, 12},
  {  -36, 0x00000fc6, 12},  {   68, 0x00000fc5, 12},
  {  -60, 0x00000fc7, 12},  {  112, 0x0000004a,  7},
  {  -80, 0x0000004b,  7},  {  113, 0x0000002c,  7},
  {  -79, 0x0000002e,  7},  {  111, 0x0000002d,  7},
  {  -81, 0x0000002f,  7},  {  114, 0x00000028,  7},
  {  -78, 0x0000002a,  7},  {  110, 0x00000029,  7},
  {  -82, 0x0000002b,  7},  {  115, 0x00000034,  7},
  {  -77, 0x00000036,  7},  {  109, 0x00000035,  7},
  {  -83, 0x00000037,  7},  {  116, 0x00000090,  8},
  {  -76, 0x00000092,  8},  {  108, 0x00000091,  8},
  {  -84, 0x00000093,  8},  {  117, 0x0000015c,  9},
  {  -75, 0x0000015e,  9},  {  107, 0x0000015d,  9},
  {  -85, 0x0000015f,  9},  {  118, 0x00000184,  9},
  {  -74, 0x00000186,  9},  {  106, 0x00000185,  9},
  {  -86, 0x00000187,  9},  {  119, 0x00000330, 10},
  {  -73, 0x00000332, 10},  {  105, 0x00000331, 10},
  {  -87, 0x00000333, 10},  {  120, 0x00000374, 10},
  {  -72, 0x00000376, 10},  {  104, 0x00000375, 10},
  {  -88, 0x00000377, 10},  {  121, 0x00000730, 11},
  {  -71, 0x00000732, 11},  {  103, 0x00000731, 11},
  {  -89, 0x00000733, 11},  {  122, 0x00000778, 11},
  {  -70, 0x0000077a, 11},  {  102, 0x00000779, 11},
  {  -90, 0x0000077b, 11},  {  123, 0x00000f4c, 12},
  {  -69, 0x00000f4e, 12},  {  101, 0x00000f4d, 12},
  {  -91, 0x00000f4f, 12},  {  124, 0x00000f9c, 12},
  {  -68, 0x00000f9e, 12},  {  100, 0x00000f9d, 12},
  {  -92, 0x00000f9f, 12},  {  144, 0x000000ba,  8},
  { -112, 0x000000bb,  8},  {  145, 0x00000084,  8},
  { -111, 0x00000086,  8},  {  143, 0x00000085,  8},
  { -113, 0x00000087,  8},  {  146, 0x0000007c,  8},
  { -110, 0x0000007e,  8},  {  142, 0x0000007d,  8},
  { -114, 0x0000007f,  8},  {  147, 0x0000008c,  8},
  { -109, 0x0000008e,  8},  {  141, 0x0000008d,  8},
  { -115, 0x0000008f,  8},  {  148, 0x0000009c,  8},
  { -108, 0x0000009e,  8},  {  140, 0x0000009d,  8},
  { -116, 0x0000009f,  8},  {  149, 0x00000164,  9},
  { -107, 0x00000166,  9},  {  139, 0x00000165,  9},
  { -117, 0x00000167,  9},  {  150, 0x00000190,  9},
  { -106, 0x00000192,  9},  {  138, 0x00000191,  9},
  { -118, 0x00000193,  9},  {  151, 0x00000360, 10},
  { -105, 0x00000362, 10},  {  137, 0x00000361, 10},
  { -119, 0x00000363, 10},  {  152, 0x0000037c, 10},
  { -104, 0x0000037e, 10},  {  136, 0x0000037d, 10},
  { -120, 0x0000037f, 10},  {  153, 0x00000748, 11},
  { -103, 0x0000074a, 11},  {  135, 0x00000749, 11},
  { -121, 0x0000074b, 11},  {  154, 0x00000788, 11},
  { -102, 0x0000078a, 11},  {  134, 0x00000789, 11},
  { -122, 0x0000078b, 11},  {  155, 0x00000f74, 12},
  { -101, 0x00000f76, 12},  {  133, 0x00000f75, 12},
  { -123, 0x00000f77, 12},  {  156, 0x00000fb8, 12},
  { -100, 0x00000fba, 12},  {  132, 0x00000fb9, 12},
  { -124, 0x00000fbb, 12},  {  176, 0x000001a2,  9},
  { -144, 0x000001a3,  9},  {  177, 0x00000154,  9},
  { -143, 0x00000156,  9},  {  175, 0x00000155,  9},
  { -145, 0x00000157,  9},  {  178, 0x000000a4,  8},
  { -142, 0x000000a6,  8},  {  174, 0x000000a5,  8},
  { -146, 0x000000a7,  8},  {  179, 0x00000158,  9},
  { -141, 0x0000015a,  9},  {  173, 0x00000159,  9},
  { -147, 0x0000015b,  9},  {  180, 0x00000160,  9},
  { -140, 0x00000162,  9},  {  172, 0x00000161,  9},
  { -148, 0x00000163,  9},  {  181, 0x00000188,  9},
  { -139, 0x0000018a,  9},  {  171, 0x00000189,  9},
  { -149, 0x0000018b,  9},  {  182, 0x00000338, 10},
  { -138, 0x0000033a, 10},  {  170, 0x00000339, 10},
  { -150, 0x0000033b, 10},  {  183, 0x00000380, 10},
  { -137, 0x00000382, 10},  {  169, 0x00000381, 10},
  { -151, 0x00000383, 10},  {  184, 0x00000388, 10},
  { -136, 0x0000038a, 10},  {  168, 0x00000389, 10},
  { -152, 0x0000038b, 10},  {  185, 0x00000768, 11},
  { -135, 0x0000076a, 11},  {  167, 0x00000769, 11},
  { -153, 0x0000076b, 11},  {  186, 0x00000f50, 12},
  { -134, 0x00000f52, 12},  {  166, 0x00000f51, 12},
  { -154, 0x00000f53, 12},  {  187, 0x00000f8c, 12},
  { -133, 0x00000f8e, 12},  {  165, 0x00000f8d, 12},
  { -155, 0x00000f8f, 12},  {  188, 0x00001fac, 13},
  { -132, 0x00001fae, 13},  {  164, 0x00001fad, 13},
  { -156, 0x00001faf, 13},  {  208, 0x00000392, 10},
  { -176, 0x00000393, 10},  {  209, 0x00000178,  9},
  { -175, 0x0000017a,  9},  {  207, 0x00000179,  9},
  { -177, 0x0000017b,  9},  {  210, 0x00000168,  9},
  { -174, 0x0000016a,  9},  {  206, 0x00000169,  9},
  { -178, 0x0000016b,  9},  {  211, 0x00000170,  9},
  { -173, 0x00000172,  9},  {  205, 0x00000171,  9},
  { -179, 0x00000173,  9},  {  212, 0x0000018c,  9},
  { -172, 0x0000018e,  9},  {  204, 0x0000018d,  9},
  { -180, 0x0000018f,  9},  {  213, 0x00000328, 10},
  { -171, 0x0000032a, 10},  {  203, 0x00000329, 10},
  { -181, 0x0000032b, 10},  {  214, 0x00000368, 10},
  { -170, 0x0000036a, 10},  {  202, 0x00000369, 10},
  { -182, 0x0000036b, 10},  {  215, 0x0000071c, 11},
  { -169, 0x0000071e, 11},  {  201, 0x0000071d, 11},
  { -183, 0x0000071f, 11},  {  216, 0x00000728, 11},
  { -168, 0x0000072a, 11},  {  200, 0x00000729, 11},
  { -184, 0x0000072b, 11},  {  217, 0x00000780, 11},
  { -167, 0x00000782, 11},  {  199, 0x00000781, 11},
  { -185, 0x00000783, 11},  {  218, 0x00000f6c, 12},
  { -166, 0x00000f6e, 12},  {  198, 0x00000f6d, 12},
  { -186, 0x00000f6f, 12},  {  219, 0x00000fa0, 12},
  { -165, 0x00000fa2, 12},  {  197, 0x00000fa1, 12},
  { -187, 0x00000fa3, 12},  {  220, 0x00001fb0, 13},
  { -164, 0x00001fb2, 13},  {  196, 0x00001fb1, 13},
  { -188, 0x00001fb3, 13},  {  240, 0x000003c6, 10},
  { -208, 0x000003c7, 10},  {  241, 0x00000348, 10},
  { -207, 0x0000034a, 10},  {  239, 0x00000349, 10},
  { -209, 0x0000034b, 10},  {  242, 0x0000032c, 10},
  { -206, 0x0000032e, 10},  {  238, 0x0000032d, 10},
  { -210, 0x0000032f, 10},  {  243, 0x00000340, 10},
  { -205, 0x00000342, 10},  {  237, 0x00000341, 10},
  { -211, 0x00000343, 10},  {  244, 0x0000035c, 10},
  { -204, 0x0000035e, 10},  {  236, 0x0000035d, 10},
  { -212, 0x0000035f, 10},  {  245, 0x0000036c, 10},
  { -203, 0x0000036e, 10},  {  235, 0x0000036d, 10},
  { -213, 0x0000036f, 10},  {  246, 0x00000718, 11},
  { -202, 0x0000071a, 11},  {  234, 0x00000719, 11},
  { -214, 0x0000071b, 11},  {  247, 0x00000754, 11},
  { -201, 0x00000756, 11},  {  233, 0x00000755, 11},
  { -215, 0x00000757, 11},  {  248, 0x00000760, 11},
  { -200, 0x00000762, 11},  {  232, 0x00000761, 11},
  { -216, 0x00000763, 11},  {  249, 0x00000f28, 12},
  { -199, 0x00000f2a, 12},  {  231, 0x00000f29, 12},
  { -217, 0x00000f2b, 12},  {  250, 0x00000f68, 12},
  { -198, 0x00000f6a, 12},  {  230, 0x00000f69, 12},
  { -218, 0x00000f6b, 12},  {  251, 0x00001fa8, 13},
  { -197, 0x00001faa, 13},  {  229, 0x00001fa9, 13},
  { -219, 0x00001fab, 13},  {  252, 0x00001fc4, 13},
  { -196, 0x00001fc6, 13},  {  228, 0x00001fc5, 13},
  { -220, 0x00001fc7, 13},  {  272, 0x000003c2, 10},
  { -240, 0x000003c3, 10},  {  273, 0x00000350, 10},
  { -239, 0x00000352, 10},  {  271, 0x00000351, 10},
  { -241, 0x00000353, 10},  {  274, 0x0000033c, 10},
  { -238, 0x0000033e, 10},  {  270, 0x0000033d, 10},
  { -242, 0x0000033f, 10},  {  275, 0x00000358, 10},
  { -237, 0x0000035a, 10},  {  269, 0x00000359, 10},
  { -243, 0x0000035b, 10},  {  276, 0x00000378, 10},
  { -236, 0x0000037a, 10},  {  268, 0x00000379, 10},
  { -244, 0x0000037b, 10},  {  277, 0x00000384, 10},
  { -235, 0x00000386, 10},  {  267, 0x00000385, 10},
  { -245, 0x00000387, 10},  {  278, 0x00000740, 11},
  { -234, 0x00000742, 11},  {  266, 0x00000741, 11},
  { -246, 0x00000743, 11},  {  279, 0x00000758, 11},
  { -233, 0x0000075a, 11},  {  265, 0x00000759, 11},
  { -247, 0x0000075b, 11},  {  280, 0x00000f44, 12},
  { -232, 0x00000f46, 12},  {  264, 0x00000f45, 12},
  { -248, 0x00000f47, 12},  {  281, 0x00000f54, 12},
  { -231, 0x00000f56, 12},  {  263, 0x00000f55, 12},
  { -249, 0x00000f57, 12},  {  282, 0x00000fc8, 12},
  { -230, 0x00000fca, 12},  {  262, 0x00000fc9, 12},
  { -250, 0x00000fcb, 12},  {  283, 0x00001fb8, 13},
  { -229, 0x00001fba, 13},  {  261, 0x00001fb9, 13},
  { -251, 0x00001fbb, 13},  {  284, 0x00001fec, 13},
  { -228, 0x00001fee, 13},  {  260, 0x00001fed, 13},
  { -252, 0x00001fef, 13},  {  304, 0x000007d2, 11},
  { -272, 0x000007d3, 11},  {  305, 0x00000734, 11},
  { -271, 0x00000736, 11},  {  303, 0x00000735, 11},
  { -273, 0x00000737, 11},  {  306, 0x00000720, 11},
  { -270, 0x00000722, 11},  {  302, 0x00000721, 11},
  { -274, 0x00000723, 11},  {  307, 0x0000072c, 11},
  { -269, 0x0000072e, 11},  {  301, 0x0000072d, 11},
  { -275, 0x0000072f, 11},  {  308, 0x00000744, 11},
  { -268, 0x00000746, 11},  {  300, 0x00000745, 11},
  { -276, 0x00000747, 11},  {  309, 0x0000075c, 11},
  { -267, 0x0000075e, 11},  {  299, 0x0000075d, 11},
  { -277, 0x0000075f, 11},  {  310, 0x0000077c, 11},
  { -266, 0x0000077e, 11},  {  298, 0x0000077d, 11},
  { -278, 0x0000077f, 11},  {  311, 0x00000f3c, 12},
  { -265, 0x00000f3e, 12},  {  297, 0x00000f3d, 12},
  { -279, 0x00000f3f, 12},  {  312, 0x00000f80, 12},
  { -264, 0x00000f82, 12},  {  296, 0x00000f81, 12},
  { -280, 0x00000f83, 12},  {  313, 0x00000fbc, 12},
  { -263, 0x00000fbe, 12},  {  295, 0x00000fbd, 12},
  { -281, 0x00000fbf, 12},  {  314, 0x00001f98, 13},
  { -262, 0x00001f9a, 13},  {  294, 0x00001f99, 13},
  { -282, 0x00001f9b, 13},  {  315, 0x00001fe0, 13},
  { -261, 0x00001fe2, 13},  {  293, 0x00001fe1, 13},
  { -283, 0x00001fe3, 13},  {  316, 0x00003fe8, 14},
  { -260, 0x00003fea, 14},  {  292, 0x00003fe9, 14},
  { -284, 0x00003feb, 14},  {  336, 0x000007d6, 11},
  { -304, 0x000007d7, 11},  {  337, 0x00000774, 11},
  { -303, 0x00000776, 11},  {  335, 0x00000775, 11},
  { -305, 0x00000777, 11},  {  338, 0x0000074c, 11},
  { -302, 0x0000074e, 11},  {  334, 0x0000074d, 11},
  { -306, 0x0000074f, 11},  {  339, 0x00000764, 11},
  { -301, 0x00000766, 11},  {  333, 0x00000765, 11},
  { -307, 0x00000767, 11},  {  340, 0x0000076c, 11},
  { -300, 0x0000076e, 11},  {  332, 0x0000076d, 11},
  { -308, 0x0000076f, 11},  {  341, 0x00000f48, 12},
  { -299, 0x00000f4a, 12},  {  331, 0x00000f49, 12},
  { -309, 0x00000f4b, 12},  {  342, 0x00000f30, 12},
  { -298, 0x00000f32, 12},  {  330, 0x00000f31, 12},
  { -310, 0x00000f33, 12},  {  343, 0x00000f70, 12},
  { -297, 0x00000f72, 12},  {  329, 0x00000f71, 12},
  { -311, 0x00000f73, 12},  {  344, 0x00000fa8, 12},
  { -296, 0x00000faa, 12},  {  328, 0x00000fa9, 12},
  { -312, 0x00000fab, 12},  {  345, 0x00001fb4, 13},
  { -295, 0x00001fb6, 13},  {  327, 0x00001fb5, 13},
  { -313, 0x00001fb7, 13},  {  346, 0x00001fcc, 13},
  { -294, 0x00001fce, 13},  {  326, 0x00001fcd, 13},
  { -314, 0x00001fcf, 13},  {  347, 0x00001fe4, 13},
  { -293, 0x00001fe6, 13},  {  325, 0x00001fe5, 13},
  { -315, 0x00001fe7, 13},  {  348, 0x00003fe4, 14},
  { -292, 0x00003fe6, 14},  {  324, 0x00003fe5, 14},
  { -316, 0x00003fe7, 14},  {  368, 0x00000fe4, 12},
  { -336, 0x00000fe5, 12},  {  369, 0x00000f38, 12},
  { -335, 0x00000f3a, 12},  {  367, 0x00000f39, 12},
  { -337, 0x00000f3b, 12},  {  370, 0x00000790, 11},
  { -334, 0x00000792, 11},  {  366, 0x00000791, 11},
  { -338, 0x00000793, 11},  {  371, 0x00000f2c, 12},
  { -333, 0x00000f2e, 12},  {  365, 0x00000f2d, 12},
  { -339, 0x00000f2f, 12},  {  372, 0x00000f60, 12},
  { -332, 0x00000f62, 12},  {  364, 0x00000f61, 12},
  { -340, 0x00000f63, 12},  {  373, 0x00000f58, 12},
  { -331, 0x00000f5a, 12},  {  363, 0x00000f59, 12},
  { -341, 0x00000f5b, 12},  {  374, 0x00000f88, 12},
  { -330, 0x00000f8a, 12},  {  362, 0x00000f89, 12},
  { -342, 0x00000f8b, 12},  {  375, 0x00000f94, 12},
  { -329, 0x00000f96, 12},  {  361, 0x00000f95, 12},
  { -343, 0x00000f97, 12},  {  376, 0x00001fa0, 13},
  { -328, 0x00001fa2, 13},  {  360, 0x00001fa1, 13},
  { -344, 0x00001fa3, 13},  {  377, 0x00001fd0, 13},
  { -327, 0x00001fd2, 13},  {  359, 0x00001fd1, 13},
  { -345, 0x00001fd3, 13},  {  378, 0x00001fd4, 13},
  { -326, 0x00001fd6, 13},  {  358, 0x00001fd5, 13},
  { -346, 0x00001fd7, 13},  {  379, 0x00001fdc, 13},
  { -325, 0x00001fde, 13},  {  357, 0x00001fdd, 13},
  { -347, 0x00001fdf, 13},  {  380, 0x00003fec, 14},
  { -324, 0x00003fee, 14},  {  356, 0x00003fed, 14},
  { -348, 0x00003fef, 14},  {  400, 0x00000ff4, 12},
  { -368, 0x00000ff5, 12},  {  401, 0x00000fb0, 12},
  { -367, 0x00000fb2, 12},  {  399, 0x00000fb1, 12},
  { -369, 0x00000fb3, 12},  {  402, 0x00000f7c, 12},
  { -366, 0x00000f7e, 12},  {  398, 0x00000f7d, 12},
  { -370, 0x00000f7f, 12},  {  403, 0x00000f84, 12},
  { -365, 0x00000f86, 12},  {  397, 0x00000f85, 12},
  { -371, 0x00000f87, 12},  {  404, 0x00000f90, 12},
  { -364, 0x00000f92, 12},  {  396, 0x00000f91, 12},
  { -372, 0x00000f93, 12},  {  405, 0x00000f98, 12},
  { -363, 0x00000f9a, 12},  {  395, 0x00000f99, 12},
  { -373, 0x00000f9b, 12},  {  406, 0x00000fc0, 12},
  { -362, 0x00000fc2, 12},  {  394, 0x00000fc1, 12},
  { -374, 0x00000fc3, 12},  {  407, 0x00001fa4, 13},
  { -361, 0x00001fa6, 13},  {  393, 0x00001fa5, 13},
  { -375, 0x00001fa7, 13},  {  408, 0x00001fbc, 13},
  { -360, 0x00001fbe, 13},  {  392, 0x00001fbd, 13},
  { -376, 0x00001fbf, 13},  {  409, 0x00003fe0, 14},
  { -359, 0x00003fe2, 14},  {  391, 0x00003fe1, 14},
  { -377, 0x00003fe3, 14},  {  410, 0x00003ff8, 14},
  { -358, 0x00003ffa, 14},  {  390, 0x00003ff9, 14},
  { -378, 0x00003ffb, 14},  {  411, 0x00003ff0, 14},
  { -357, 0x00003ff2, 14},  {  389, 0x00003ff1, 14},
  { -379, 0x00003ff3, 14},  {  412, 0x00003ffc, 14},
  { -356, 0x00003ffe, 14},  {  388, 0x00003ffd, 14},
  { -380, 0x00003fff, 14}
};

static IppsVLCTable_32s spec_book11[] = {
  {   16, 0x00000000,  4},  {   17, 0x0000000c,  6},
  {   15, 0x0000000d,  6},  {   18, 0x00000032,  7},
  {   14, 0x00000033,  7},  {   19, 0x0000007a,  8},
  {   13, 0x0000007b,  8},  {   20, 0x00000138,  9},
  {   12, 0x00000139,  9},  {   21, 0x0000018c,  9},
  {   11, 0x0000018d,  9},  {   22, 0x0000034e, 10},
  {   10, 0x0000034f, 10},  {   23, 0x00000720, 11},
  {    9, 0x00000721, 11},  {   24, 0x00000784, 11},
  {    8, 0x00000785, 11},  {   25, 0x000007be, 11},
  {    7, 0x000007bf, 11},  {   26, 0x00000fcc, 12},
  {    6, 0x00000fcd, 12},  {   27, 0x00000fe6, 12},
  {    5, 0x00000fe7, 12},  {   28, 0x00001ff6, 13},
  {    4, 0x00001ff7, 13},  {   29, 0x00000fd8, 12},
  {    3, 0x00000fd9, 12},  {   30, 0x00001ff4, 13},
  {    2, 0x00001ff5, 13},  {   31, 0x00001ffc, 13},
  {    1, 0x00001ffd, 13},  {   32, 0x0000071c, 11},
  {    0, 0x0000071d, 11},  {   80, 0x0000000a,  6},
  {  -48, 0x0000000b,  6},  {   81, 0x00000004,  6},
  {  -47, 0x00000006,  6},  {   79, 0x00000005,  6},
  {  -49, 0x00000007,  6},  {   82, 0x00000020,  7},
  {  -46, 0x00000022,  7},  {   78, 0x00000021,  7},
  {  -50, 0x00000023,  7},  {   83, 0x00000050,  8},
  {  -45, 0x00000052,  8},  {   77, 0x00000051,  8},
  {  -51, 0x00000053,  8},  {   84, 0x000000dc,  9},
  {  -44, 0x000000de,  9},  {   76, 0x000000dd,  9},
  {  -52, 0x000000df,  9},  {   85, 0x00000108,  9},
  {  -43, 0x0000010a,  9},  {   75, 0x00000109,  9},
  {  -53, 0x0000010b,  9},  {   86, 0x00000248, 10},
  {  -42, 0x0000024a, 10},  {   74, 0x00000249, 10},
  {  -54, 0x0000024b, 10},  {   87, 0x000002bc, 10},
  {  -41, 0x000002be, 10},  {   73, 0x000002bd, 10},
  {  -55, 0x000002bf, 10},  {   88, 0x00000644, 11},
  {  -40, 0x00000646, 11},  {   72, 0x00000645, 11},
  {  -56, 0x00000647, 11},  {   89, 0x00000694, 11},
  {  -39, 0x00000696, 11},  {   71, 0x00000695, 11},
  {  -57, 0x00000697, 11},  {   90, 0x000006d4, 11},
  {  -38, 0x000006d6, 11},  {   70, 0x000006d5, 11},
  {  -58, 0x000006d7, 11},  {   91, 0x00000e78, 12},
  {  -37, 0x00000e7a, 12},  {   69, 0x00000e79, 12},
  {  -59, 0x00000e7b, 12},  {   92, 0x00000f00, 12},
  {  -36, 0x00000f02, 12},  {   68, 0x00000f01, 12},
  {  -60, 0x00000f03, 12},  {   93, 0x00000e88, 12},
  {  -35, 0x00000e8a, 12},  {   67, 0x00000e89, 12},
  {  -61, 0x00000e8b, 12},  {   94, 0x00000f34, 12},
  {  -34, 0x00000f36, 12},  {   66, 0x00000f35, 12},
  {  -62, 0x00000f37, 12},  {   95, 0x00001f58, 13},
  {  -33, 0x00001f5a, 13},  {   65, 0x00001f59, 13},
  {  -63, 0x00001f5b, 13},  {   96, 0x000002b8, 10},
  {  -32, 0x000002ba, 10},  {   64, 0x000002b9, 10},
  {  -64, 0x000002bb, 10},  {  144, 0x0000002e,  7},
  { -112, 0x0000002f,  7},  {  145, 0x0000001c,  7},
  { -111, 0x0000001e,  7},  {  143, 0x0000001d,  7},
  { -113, 0x0000001f,  7},  {  146, 0x00000024,  7},
  { -110, 0x00000026,  7},  {  142, 0x00000025,  7},
  { -114, 0x00000027,  7},  {  147, 0x00000060,  8},
  { -109, 0x00000062,  8},  {  141, 0x00000061,  8},
  { -115, 0x00000063,  8},  {  148, 0x000000e4,  9},
  { -108, 0x000000e6,  9},  {  140, 0x000000e5,  9},
  { -116, 0x000000e7,  9},  {  149, 0x00000100,  9},
  { -107, 0x00000102,  9},  {  139, 0x00000101,  9},
  { -117, 0x00000103,  9},  {  150, 0x00000238, 10},
  { -106, 0x0000023a, 10},  {  138, 0x00000239, 10},
  { -118, 0x0000023b, 10},  {  151, 0x0000028c, 10},
  { -105, 0x0000028e, 10},  {  137, 0x0000028d, 10},
  { -119, 0x0000028f, 10},  {  152, 0x000002e0, 10},
  { -104, 0x000002e2, 10},  {  136, 0x000002e1, 10},
  { -120, 0x000002e3, 10},  {  153, 0x00000664, 11},
  { -103, 0x00000666, 11},  {  135, 0x00000665, 11},
  { -121, 0x00000667, 11},  {  154, 0x000006b0, 11},
  { -102, 0x000006b2, 11},  {  134, 0x000006b1, 11},
  { -122, 0x000006b3, 11},  {  155, 0x00000704, 11},
  { -101, 0x00000706, 11},  {  133, 0x00000705, 11},
  { -123, 0x00000707, 11},  {  156, 0x00000ec4, 12},
  { -100, 0x00000ec6, 12},  {  132, 0x00000ec5, 12},
  { -124, 0x00000ec7, 12},  {  157, 0x00000e58, 12},
  {  -99, 0x00000e5a, 12},  {  131, 0x00000e59, 12},
  { -125, 0x00000e5b, 12},  {  158, 0x00000ef8, 12},
  {  -98, 0x00000efa, 12},  {  130, 0x00000ef9, 12},
  { -126, 0x00000efb, 12},  {  159, 0x00000f28, 12},
  {  -97, 0x00000f2a, 12},  {  129, 0x00000f29, 12},
  { -127, 0x00000f2b, 12},  {  160, 0x00000274, 10},
  {  -96, 0x00000276, 10},  {  128, 0x00000275, 10},
  { -128, 0x00000277, 10},  {  208, 0x00000078,  8},
  { -176, 0x00000079,  8},  {  209, 0x00000054,  8},
  { -175, 0x00000056,  8},  {  207, 0x00000055,  8},
  { -177, 0x00000057,  8},  {  210, 0x00000058,  8},
  { -174, 0x0000005a,  8},  {  206, 0x00000059,  8},
  { -178, 0x0000005b,  8},  {  211, 0x00000068,  8},
  { -173, 0x0000006a,  8},  {  205, 0x00000069,  8},
  { -179, 0x0000006b,  8},  {  212, 0x000000ec,  9},
  { -172, 0x000000ee,  9},  {  204, 0x000000ed,  9},
  { -180, 0x000000ef,  9},  {  213, 0x00000110,  9},
  { -171, 0x00000112,  9},  {  203, 0x00000111,  9},
  { -181, 0x00000113,  9},  {  214, 0x00000244, 10},
  { -170, 0x00000246, 10},  {  202, 0x00000245, 10},
  { -182, 0x00000247, 10},  {  215, 0x00000294, 10},
  { -169, 0x00000296, 10},  {  201, 0x00000295, 10},
  { -183, 0x00000297, 10},  {  216, 0x000002f8, 10},
  { -168, 0x000002fa, 10},  {  200, 0x000002f9, 10},
  { -184, 0x000002fb, 10},  {  217, 0x00000658, 11},
  { -167, 0x0000065a, 11},  {  199, 0x00000659, 11},
  { -185, 0x0000065b, 11},  {  218, 0x000006b8, 11},
  { -166, 0x000006ba, 11},  {  198, 0x000006b9, 11},
  { -186, 0x000006bb, 11},  {  219, 0x000006e4, 11},
  { -165, 0x000006e6, 11},  {  197, 0x000006e5, 11},
  { -187, 0x000006e7, 11},  {  220, 0x00000e84, 12},
  { -164, 0x00000e86, 12},  {  196, 0x00000e85, 12},
  { -188, 0x00000e87, 12},  {  221, 0x00000e44, 12},
  { -163, 0x00000e46, 12},  {  195, 0x00000e45, 12},
  { -189, 0x00000e47, 12},  {  222, 0x00000e94, 12},
  { -162, 0x00000e96, 12},  {  194, 0x00000e95, 12},
  { -190, 0x00000e97, 12},  {  223, 0x00000f54, 12},
  { -161, 0x00000f56, 12},  {  193, 0x00000f55, 12},
  { -191, 0x00000f57, 12},  {  224, 0x00000250, 10},
  { -160, 0x00000252, 10},  {  192, 0x00000251, 10},
  { -192, 0x00000253, 10},  {  272, 0x00000134,  9},
  { -240, 0x00000135,  9},  {  273, 0x000000d8,  9},
  { -239, 0x000000da,  9},  {  271, 0x000000d9,  9},
  { -241, 0x000000db,  9},  {  274, 0x000000e0,  9},
  { -238, 0x000000e2,  9},  {  270, 0x000000e1,  9},
  { -242, 0x000000e3,  9},  {  275, 0x000000e8,  9},
  { -237, 0x000000ea,  9},  {  269, 0x000000e9,  9},
  { -243, 0x000000eb,  9},  {  276, 0x00000104,  9},
  { -236, 0x00000106,  9},  {  268, 0x00000105,  9},
  { -244, 0x00000107,  9},  {  277, 0x00000230, 10},
  { -235, 0x00000232, 10},  {  267, 0x00000231, 10},
  { -245, 0x00000233, 10},  {  278, 0x0000026c, 10},
  { -234, 0x0000026e, 10},  {  266, 0x0000026d, 10},
  { -246, 0x0000026f, 10},  {  279, 0x000002c0, 10},
  { -233, 0x000002c2, 10},  {  265, 0x000002c1, 10},
  { -247, 0x000002c3, 10},  {  280, 0x0000030c, 10},
  { -232, 0x0000030e, 10},  {  264, 0x0000030d, 10},
  { -248, 0x0000030f, 10},  {  281, 0x00000678, 11},
  { -231, 0x0000067a, 11},  {  263, 0x00000679, 11},
  { -249, 0x0000067b, 11},  {  282, 0x000006ac, 11},
  { -230, 0x000006ae, 11},  {  262, 0x000006ad, 11},
  { -250, 0x000006af, 11},  {  283, 0x000006f0, 11},
  { -229, 0x000006f2, 11},  {  261, 0x000006f1, 11},
  { -251, 0x000006f3, 11},  {  284, 0x00000e7c, 12},
  { -228, 0x00000e7e, 12},  {  260, 0x00000e7d, 12},
  { -252, 0x00000e7f, 12},  {  285, 0x00000e3c, 12},
  { -227, 0x00000e3e, 12},  {  259, 0x00000e3d, 12},
  { -253, 0x00000e3f, 12},  {  286, 0x00000ea4, 12},
  { -226, 0x00000ea6, 12},  {  258, 0x00000ea5, 12},
  { -254, 0x00000ea7, 12},  {  287, 0x00000f3c, 12},
  { -225, 0x00000f3e, 12},  {  257, 0x00000f3d, 12},
  { -255, 0x00000f3f, 12},  {  288, 0x0000024c, 10},
  { -224, 0x0000024e, 10},  {  256, 0x0000024d, 10},
  { -256, 0x0000024f, 10},  {  336, 0x0000017e,  9},
  { -304, 0x0000017f,  9},  {  337, 0x000000f8,  9},
  { -303, 0x000000fa,  9},  {  335, 0x000000f9,  9},
  { -305, 0x000000fb,  9},  {  338, 0x000000fc,  9},
  { -302, 0x000000fe,  9},  {  334, 0x000000fd,  9},
  { -306, 0x000000ff,  9},  {  339, 0x0000010c,  9},
  { -301, 0x0000010e,  9},  {  333, 0x0000010d,  9},
  { -307, 0x0000010f,  9},  {  340, 0x00000114,  9},
  { -300, 0x00000116,  9},  {  332, 0x00000115,  9},
  { -308, 0x00000117,  9},  {  341, 0x00000278, 10},
  { -299, 0x0000027a, 10},  {  331, 0x00000279, 10},
  { -309, 0x0000027b, 10},  {  342, 0x0000029c, 10},
  { -298, 0x0000029e, 10},  {  330, 0x0000029d, 10},
  { -310, 0x0000029f, 10},  {  343, 0x000002e4, 10},
  { -297, 0x000002e6, 10},  {  329, 0x000002e5, 10},
  { -311, 0x000002e7, 10},  {  344, 0x00000650, 11},
  { -296, 0x00000652, 11},  {  328, 0x00000651, 11},
  { -312, 0x00000653, 11},  {  345, 0x00000688, 11},
  { -295, 0x0000068a, 11},  {  327, 0x00000689, 11},
  { -313, 0x0000068b, 11},  {  346, 0x000006e8, 11},
  { -294, 0x000006ea, 11},  {  326, 0x000006e9, 11},
  { -314, 0x000006eb, 11},  {  347, 0x0000070c, 11},
  { -293, 0x0000070e, 11},  {  325, 0x0000070d, 11},
  { -315, 0x0000070f, 11},  {  348, 0x00000e98, 12},
  { -292, 0x00000e9a, 12},  {  324, 0x00000e99, 12},
  { -316, 0x00000e9b, 12},  {  349, 0x00000e9c, 12},
  { -291, 0x00000e9e, 12},  {  323, 0x00000e9d, 12},
  { -317, 0x00000e9f, 12},  {  350, 0x00000eec, 12},
  { -290, 0x00000eee, 12},  {  322, 0x00000eed, 12},
  { -318, 0x00000eef, 12},  {  351, 0x00000f50, 12},
  { -289, 0x00000f52, 12},  {  321, 0x00000f51, 12},
  { -319, 0x00000f53, 12},  {  352, 0x0000027c, 10},
  { -288, 0x0000027e, 10},  {  320, 0x0000027d, 10},
  { -320, 0x0000027f, 10},  {  400, 0x00000340, 10},
  { -368, 0x00000341, 10},  {  401, 0x0000023c, 10},
  { -367, 0x0000023e, 10},  {  399, 0x0000023d, 10},
  { -369, 0x0000023f, 10},  {  402, 0x00000234, 10},
  { -366, 0x00000236, 10},  {  398, 0x00000235, 10},
  { -370, 0x00000237, 10},  {  403, 0x00000240, 10},
  { -365, 0x00000242, 10},  {  397, 0x00000241, 10},
  { -371, 0x00000243, 10},  {  404, 0x00000260, 10},
  { -364, 0x00000262, 10},  {  396, 0x00000261, 10},
  { -372, 0x00000263, 10},  {  405, 0x00000298, 10},
  { -363, 0x0000029a, 10},  {  395, 0x00000299, 10},
  { -373, 0x0000029b, 10},  {  406, 0x000002d8, 10},
  { -362, 0x000002da, 10},  {  394, 0x000002d9, 10},
  { -374, 0x000002db, 10},  {  407, 0x00000310, 10},
  { -361, 0x00000312, 10},  {  393, 0x00000311, 10},
  { -375, 0x00000313, 10},  {  408, 0x0000067c, 11},
  { -360, 0x0000067e, 11},  {  392, 0x0000067d, 11},
  { -376, 0x0000067f, 11},  {  409, 0x000006bc, 11},
  { -359, 0x000006be, 11},  {  391, 0x000006bd, 11},
  { -377, 0x000006bf, 11},  {  410, 0x000006fc, 11},
  { -358, 0x000006fe, 11},  {  390, 0x000006fd, 11},
  { -378, 0x000006ff, 11},  {  411, 0x00000e64, 12},
  { -357, 0x00000e66, 12},  {  389, 0x00000e65, 12},
  { -379, 0x00000e67, 12},  {  412, 0x00000efc, 12},
  { -356, 0x00000efe, 12},  {  388, 0x00000efd, 12},
  { -380, 0x00000eff, 12},  {  413, 0x00000ed0, 12},
  { -355, 0x00000ed2, 12},  {  387, 0x00000ed1, 12},
  { -381, 0x00000ed3, 12},  {  414, 0x00000f24, 12},
  { -354, 0x00000f26, 12},  {  386, 0x00000f25, 12},
  { -382, 0x00000f27, 12},  {  415, 0x00000f9c, 12},
  { -353, 0x00000f9e, 12},  {  385, 0x00000f9d, 12},
  { -383, 0x00000f9f, 12},  {  416, 0x000002a0, 10},
  { -352, 0x000002a2, 10},  {  384, 0x000002a1, 10},
  { -384, 0x000002a3, 10},  {  464, 0x0000036c, 10},
  { -432, 0x0000036d, 10},  {  465, 0x000002ac, 10},
  { -431, 0x000002ae, 10},  {  463, 0x000002ad, 10},
  { -433, 0x000002af, 10},  {  466, 0x00000290, 10},
  { -430, 0x00000292, 10},  {  462, 0x00000291, 10},
  { -434, 0x00000293, 10},  {  467, 0x000002a8, 10},
  { -429, 0x000002aa, 10},  {  461, 0x000002a9, 10},
  { -435, 0x000002ab, 10},  {  468, 0x000002c8, 10},
  { -428, 0x000002ca, 10},  {  460, 0x000002c9, 10},
  { -436, 0x000002cb, 10},  {  469, 0x00000308, 10},
  { -427, 0x0000030a, 10},  {  459, 0x00000309, 10},
  { -437, 0x0000030b, 10},  {  470, 0x00000314, 10},
  { -426, 0x00000316, 10},  {  458, 0x00000315, 10},
  { -438, 0x00000317, 10},  {  471, 0x00000660, 11},
  { -425, 0x00000662, 11},  {  457, 0x00000661, 11},
  { -439, 0x00000663, 11},  {  472, 0x00000690, 11},
  { -424, 0x00000692, 11},  {  456, 0x00000691, 11},
  { -440, 0x00000693, 11},  {  473, 0x000006e0, 11},
  { -423, 0x000006e2, 11},  {  455, 0x000006e1, 11},
  { -441, 0x000006e3, 11},  {  474, 0x00000e30, 12},
  { -422, 0x00000e32, 12},  {  454, 0x00000e31, 12},
  { -442, 0x00000e33, 12},  {  475, 0x00000e90, 12},
  { -421, 0x00000e92, 12},  {  453, 0x00000e91, 12},
  { -443, 0x00000e93, 12},  {  476, 0x00000f10, 12},
  { -420, 0x00000f12, 12},  {  452, 0x00000f11, 12},
  { -444, 0x00000f13, 12},  {  477, 0x00000f18, 12},
  { -419, 0x00000f1a, 12},  {  451, 0x00000f19, 12},
  { -445, 0x00000f1b, 12},  {  478, 0x00000f74, 12},
  { -418, 0x00000f76, 12},  {  450, 0x00000f75, 12},
  { -446, 0x00000f77, 12},  {  479, 0x00000fa0, 12},
  { -417, 0x00000fa2, 12},  {  449, 0x00000fa1, 12},
  { -447, 0x00000fa3, 12},  {  480, 0x000002b4, 10},
  { -416, 0x000002b6, 10},  {  448, 0x000002b5, 10},
  { -448, 0x000002b7, 10},  {  528, 0x0000075e, 11},
  { -496, 0x0000075f, 11},  {  529, 0x00000648, 11},
  { -495, 0x0000064a, 11},  {  527, 0x00000649, 11},
  { -497, 0x0000064b, 11},  {  530, 0x000002f4, 10},
  { -494, 0x000002f6, 10},  {  526, 0x000002f5, 10},
  { -498, 0x000002f7, 10},  {  531, 0x000002f0, 10},
  { -493, 0x000002f2, 10},  {  525, 0x000002f1, 10},
  { -499, 0x000002f3, 10},  {  532, 0x00000638, 11},
  { -492, 0x0000063a, 11},  {  524, 0x00000639, 11},
  { -500, 0x0000063b, 11},  {  533, 0x0000065c, 11},
  { -491, 0x0000065e, 11},  {  523, 0x0000065d, 11},
  { -501, 0x0000065f, 11},  {  534, 0x00000668, 11},
  { -490, 0x0000066a, 11},  {  522, 0x00000669, 11},
  { -502, 0x0000066b, 11},  {  535, 0x0000068c, 11},
  { -489, 0x0000068e, 11},  {  521, 0x0000068d, 11},
  { -503, 0x0000068f, 11},  {  536, 0x000006c4, 11},
  { -488, 0x000006c6, 11},  {  520, 0x000006c5, 11},
  { -504, 0x000006c7, 11},  {  537, 0x00000e34, 12},
  { -487, 0x00000e36, 12},  {  519, 0x00000e35, 12},
  { -505, 0x00000e37, 12},  {  538, 0x00000e60, 12},
  { -486, 0x00000e62, 12},  {  518, 0x00000e61, 12},
  { -506, 0x00000e63, 12},  {  539, 0x00000edc, 12},
  { -485, 0x00000ede, 12},  {  517, 0x00000edd, 12},
  { -507, 0x00000edf, 12},  {  540, 0x00000f4c, 12},
  { -484, 0x00000f4e, 12},  {  516, 0x00000f4d, 12},
  { -508, 0x00000f4f, 12},  {  541, 0x00000f44, 12},
  { -483, 0x00000f46, 12},  {  515, 0x00000f45, 12},
  { -509, 0x00000f47, 12},  {  542, 0x00000f6c, 12},
  { -482, 0x00000f6e, 12},  {  514, 0x00000f6d, 12},
  { -510, 0x00000f6f, 12},  {  543, 0x00001f74, 13},
  { -481, 0x00001f76, 13},  {  513, 0x00001f75, 13},
  { -511, 0x00001f77, 13},  {  544, 0x000002d0, 10},
  { -480, 0x000002d2, 10},  {  512, 0x000002d1, 10},
  { -512, 0x000002d3, 10},  {  592, 0x000007bc, 11},
  { -560, 0x000007bd, 11},  {  593, 0x000006a4, 11},
  { -559, 0x000006a6, 11},  {  591, 0x000006a5, 11},
  { -561, 0x000006a7, 11},  {  594, 0x0000066c, 11},
  { -558, 0x0000066e, 11},  {  590, 0x0000066d, 11},
  { -562, 0x0000066f, 11},  {  595, 0x00000670, 11},
  { -557, 0x00000672, 11},  {  589, 0x00000671, 11},
  { -563, 0x00000673, 11},  {  596, 0x00000684, 11},
  { -556, 0x00000686, 11},  {  588, 0x00000685, 11},
  { -564, 0x00000687, 11},  {  597, 0x000006a8, 11},
  { -555, 0x000006aa, 11},  {  587, 0x000006a9, 11},
  { -565, 0x000006ab, 11},  {  598, 0x000006b4, 11},
  { -554, 0x000006b6, 11},  {  586, 0x000006b5, 11},
  { -566, 0x000006b7, 11},  {  599, 0x000006cc, 11},
  { -553, 0x000006ce, 11},  {  585, 0x000006cd, 11},
  { -567, 0x000006cf, 11},  {  600, 0x00000e2c, 12},
  { -552, 0x00000e2e, 12},  {  584, 0x00000e2d, 12},
  { -568, 0x00000e2f, 12},  {  601, 0x00000ec8, 12},
  { -551, 0x00000eca, 12},  {  583, 0x00000ec9, 12},
  { -569, 0x00000ecb, 12},  {  602, 0x00000ee0, 12},
  { -550, 0x00000ee2, 12},  {  582, 0x00000ee1, 12},
  { -570, 0x00000ee3, 12},  {  603, 0x00000f38, 12},
  { -549, 0x00000f3a, 12},  {  581, 0x00000f39, 12},
  { -571, 0x00000f3b, 12},  {  604, 0x00000f84, 12},
  { -548, 0x00000f86, 12},  {  580, 0x00000f85, 12},
  { -572, 0x00000f87, 12},  {  605, 0x00000f80, 12},
  { -547, 0x00000f82, 12},  {  579, 0x00000f81, 12},
  { -573, 0x00000f83, 12},  {  606, 0x00001f48, 13},
  { -546, 0x00001f4a, 13},  {  578, 0x00001f49, 13},
  { -574, 0x00001f4b, 13},  {  607, 0x00001f94, 13},
  { -545, 0x00001f96, 13},  {  577, 0x00001f95, 13},
  { -575, 0x00001f97, 13},  {  608, 0x000002dc, 10},
  { -544, 0x000002de, 10},  {  576, 0x000002dd, 10},
  { -576, 0x000002df, 10},  {  656, 0x00000fc6, 12},
  { -624, 0x00000fc7, 12},  {  657, 0x000006ec, 11},
  { -623, 0x000006ee, 11},  {  655, 0x000006ed, 11},
  { -625, 0x000006ef, 11},  {  658, 0x000006a0, 11},
  { -622, 0x000006a2, 11},  {  654, 0x000006a1, 11},
  { -626, 0x000006a3, 11},  {  659, 0x00000698, 11},
  { -621, 0x0000069a, 11},  {  653, 0x00000699, 11},
  { -627, 0x0000069b, 11},  {  660, 0x000006c0, 11},
  { -620, 0x000006c2, 11},  {  652, 0x000006c1, 11},
  { -628, 0x000006c3, 11},  {  661, 0x000006c8, 11},
  { -619, 0x000006ca, 11},  {  651, 0x000006c9, 11},
  { -629, 0x000006cb, 11},  {  662, 0x000006dc, 11},
  { -618, 0x000006de, 11},  {  650, 0x000006dd, 11},
  { -630, 0x000006df, 11},  {  663, 0x00000e6c, 12},
  { -617, 0x00000e6e, 12},  {  649, 0x00000e6d, 12},
  { -631, 0x00000e6f, 12},  {  664, 0x00000e68, 12},
  { -616, 0x00000e6a, 12},  {  648, 0x00000e69, 12},
  { -632, 0x00000e6b, 12},  {  665, 0x00000ee8, 12},
  { -615, 0x00000eea, 12},  {  647, 0x00000ee9, 12},
  { -633, 0x00000eeb, 12},  {  666, 0x00000ed4, 12},
  { -614, 0x00000ed6, 12},  {  646, 0x00000ed5, 12},
  { -634, 0x00000ed7, 12},  {  667, 0x00000f58, 12},
  { -613, 0x00000f5a, 12},  {  645, 0x00000f59, 12},
  { -635, 0x00000f5b, 12},  {  668, 0x00001f5c, 13},
  { -612, 0x00001f5e, 13},  {  644, 0x00001f5d, 13},
  { -636, 0x00001f5f, 13},  {  669, 0x00000f90, 12},
  { -611, 0x00000f92, 12},  {  643, 0x00000f91, 12},
  { -637, 0x00000f93, 12},  {  670, 0x00001f60, 13},
  { -610, 0x00001f62, 13},  {  642, 0x00001f61, 13},
  { -638, 0x00001f63, 13},  {  671, 0x00001fa8, 13},
  { -609, 0x00001faa, 13},  {  641, 0x00001fa9, 13},
  { -639, 0x00001fab, 13},  {  672, 0x000002e8, 10},
  { -608, 0x000002ea, 10},  {  640, 0x000002e9, 10},
  { -640, 0x000002eb, 10},  {  720, 0x00000fd0, 12},
  { -688, 0x00000fd1, 12},  {  721, 0x00000e80, 12},
  { -687, 0x00000e82, 12},  {  719, 0x00000e81, 12},
  { -689, 0x00000e83, 12},  {  722, 0x000006f4, 11},
  { -686, 0x000006f6, 11},  {  718, 0x000006f5, 11},
  { -690, 0x000006f7, 11},  {  723, 0x000006d0, 11},
  { -685, 0x000006d2, 11},  {  717, 0x000006d1, 11},
  { -691, 0x000006d3, 11},  {  724, 0x00000e28, 12},
  { -684, 0x00000e2a, 12},  {  716, 0x00000e29, 12},
  { -692, 0x00000e2b, 12},  {  725, 0x00000710, 11},
  { -683, 0x00000712, 11},  {  715, 0x00000711, 11},
  { -693, 0x00000713, 11},  {  726, 0x00000e48, 12},
  { -682, 0x00000e4a, 12},  {  714, 0x00000e49, 12},
  { -694, 0x00000e4b, 12},  {  727, 0x00000ea8, 12},
  { -681, 0x00000eaa, 12},  {  713, 0x00000ea9, 12},
  { -695, 0x00000eab, 12},  {  728, 0x00000ec0, 12},
  { -680, 0x00000ec2, 12},  {  712, 0x00000ec1, 12},
  { -696, 0x00000ec3, 12},  {  729, 0x00000ef0, 12},
  { -679, 0x00000ef2, 12},  {  711, 0x00000ef1, 12},
  { -697, 0x00000ef3, 12},  {  730, 0x00000f5c, 12},
  { -678, 0x00000f5e, 12},  {  710, 0x00000f5d, 12},
  { -698, 0x00000f5f, 12},  {  731, 0x00001f50, 13},
  { -677, 0x00001f52, 13},  {  709, 0x00001f51, 13},
  { -699, 0x00001f53, 13},  {  732, 0x00001f70, 13},
  { -676, 0x00001f72, 13},  {  708, 0x00001f71, 13},
  { -700, 0x00001f73, 13},  {  733, 0x00001f6c, 13},
  { -675, 0x00001f6e, 13},  {  707, 0x00001f6d, 13},
  { -701, 0x00001f6f, 13},  {  734, 0x00001f54, 13},
  { -674, 0x00001f56, 13},  {  706, 0x00001f55, 13},
  { -702, 0x00001f57, 13},  {  735, 0x00001fc0, 13},
  { -673, 0x00001fc2, 13},  {  705, 0x00001fc1, 13},
  { -703, 0x00001fc3, 13},  {  736, 0x00000304, 10},
  { -672, 0x00000306, 10},  {  704, 0x00000305, 10},
  { -704, 0x00000307, 10},  {  784, 0x00000ff6, 12},
  { -752, 0x00000ff7, 12},  {  785, 0x00000f20, 12},
  { -751, 0x00000f22, 12},  {  783, 0x00000f21, 12},
  { -753, 0x00000f23, 12},  {  786, 0x00000e8c, 12},
  { -750, 0x00000e8e, 12},  {  782, 0x00000e8d, 12},
  { -754, 0x00000e8f, 12},  {  787, 0x00000e54, 12},
  { -749, 0x00000e56, 12},  {  781, 0x00000e55, 12},
  { -755, 0x00000e57, 12},  {  788, 0x00000e74, 12},
  { -748, 0x00000e76, 12},  {  780, 0x00000e75, 12},
  { -756, 0x00000e77, 12},  {  789, 0x00000eb0, 12},
  { -747, 0x00000eb2, 12},  {  779, 0x00000eb1, 12},
  { -757, 0x00000eb3, 12},  {  790, 0x00000eb8, 12},
  { -746, 0x00000eba, 12},  {  778, 0x00000eb9, 12},
  { -758, 0x00000ebb, 12},  {  791, 0x00000f14, 12},
  { -745, 0x00000f16, 12},  {  777, 0x00000f15, 12},
  { -759, 0x00000f17, 12},  {  792, 0x00000f60, 12},
  { -744, 0x00000f62, 12},  {  776, 0x00000f61, 12},
  { -760, 0x00000f63, 12},  {  793, 0x00000f88, 12},
  { -743, 0x00000f8a, 12},  {  775, 0x00000f89, 12},
  { -761, 0x00000f8b, 12},  {  794, 0x00000f98, 12},
  { -742, 0x00000f9a, 12},  {  774, 0x00000f99, 12},
  { -762, 0x00000f9b, 12},  {  795, 0x00001f90, 13},
  { -741, 0x00001f92, 13},  {  773, 0x00001f91, 13},
  { -763, 0x00001f93, 13},  {  796, 0x00001f9c, 13},
  { -740, 0x00001f9e, 13},  {  772, 0x00001f9d, 13},
  { -764, 0x00001f9f, 13},  {  797, 0x00001f80, 13},
  { -739, 0x00001f82, 13},  {  771, 0x00001f81, 13},
  { -765, 0x00001f83, 13},  {  798, 0x00001fa4, 13},
  { -738, 0x00001fa6, 13},  {  770, 0x00001fa5, 13},
  { -766, 0x00001fa7, 13},  {  799, 0x00001fdc, 13},
  { -737, 0x00001fde, 13},  {  769, 0x00001fdd, 13},
  { -767, 0x00001fdf, 13},  {  800, 0x00000640, 11},
  { -736, 0x00000642, 11},  {  768, 0x00000641, 11},
  { -768, 0x00000643, 11},  {  848, 0x00000fe4, 12},
  { -816, 0x00000fe5, 12},  {  849, 0x00000e4c, 12},
  { -815, 0x00000e4e, 12},  {  847, 0x00000e4d, 12},
  { -817, 0x00000e4f, 12},  {  850, 0x000006f8, 11},
  { -814, 0x000006fa, 11},  {  846, 0x000006f9, 11},
  { -818, 0x000006fb, 11},  {  851, 0x00000700, 11},
  { -813, 0x00000702, 11},  {  845, 0x00000701, 11},
  { -819, 0x00000703, 11},  {  852, 0x00000e50, 12},
  { -812, 0x00000e52, 12},  {  844, 0x00000e51, 12},
  { -820, 0x00000e53, 12},  {  853, 0x00000e5c, 12},
  { -811, 0x00000e5e, 12},  {  843, 0x00000e5d, 12},
  { -821, 0x00000e5f, 12},  {  854, 0x00000eb4, 12},
  { -810, 0x00000eb6, 12},  {  842, 0x00000eb5, 12},
  { -822, 0x00000eb7, 12},  {  855, 0x00000f0c, 12},
  { -809, 0x00000f0e, 12},  {  841, 0x00000f0d, 12},
  { -823, 0x00000f0f, 12},  {  856, 0x00000f04, 12},
  { -808, 0x00000f06, 12},  {  840, 0x00000f05, 12},
  { -824, 0x00000f07, 12},  {  857, 0x00000f48, 12},
  { -807, 0x00000f4a, 12},  {  839, 0x00000f49, 12},
  { -825, 0x00000f4b, 12},  {  858, 0x00001f68, 13},
  { -806, 0x00001f6a, 13},  {  838, 0x00001f69, 13},
  { -826, 0x00001f6b, 13},  {  859, 0x00001f64, 13},
  { -805, 0x00001f66, 13},  {  837, 0x00001f65, 13},
  { -827, 0x00001f67, 13},  {  860, 0x00001f7c, 13},
  { -804, 0x00001f7e, 13},  {  836, 0x00001f7d, 13},
  { -828, 0x00001f7f, 13},  {  861, 0x00001fac, 13},
  { -803, 0x00001fae, 13},  {  835, 0x00001fad, 13},
  { -829, 0x00001faf, 13},  {  862, 0x00001fd0, 13},
  { -802, 0x00001fd2, 13},  {  834, 0x00001fd1, 13},
  { -830, 0x00001fd3, 13},  {  863, 0x00001fe8, 13},
  { -801, 0x00001fea, 13},  {  833, 0x00001fe9, 13},
  { -831, 0x00001feb, 13},  {  864, 0x00000654, 11},
  { -800, 0x00000656, 11},  {  832, 0x00000655, 11},
  { -832, 0x00000657, 11},  {  912, 0x00000ff0, 12},
  { -880, 0x00000ff1, 12},  {  913, 0x00000ef4, 12},
  { -879, 0x00000ef6, 12},  {  911, 0x00000ef5, 12},
  { -881, 0x00000ef7, 12},  {  914, 0x00000e70, 12},
  { -878, 0x00000e72, 12},  {  910, 0x00000e71, 12},
  { -882, 0x00000e73, 12},  {  915, 0x00000eac, 12},
  { -877, 0x00000eae, 12},  {  909, 0x00000ead, 12},
  { -883, 0x00000eaf, 12},  {  916, 0x00000ea0, 12},
  { -876, 0x00000ea2, 12},  {  908, 0x00000ea1, 12},
  { -884, 0x00000ea3, 12},  {  917, 0x00000ecc, 12},
  { -875, 0x00000ece, 12},  {  907, 0x00000ecd, 12},
  { -885, 0x00000ecf, 12},  {  918, 0x00000ee4, 12},
  { -874, 0x00000ee6, 12},  {  906, 0x00000ee5, 12},
  { -886, 0x00000ee7, 12},  {  919, 0x00000f40, 12},
  { -873, 0x00000f42, 12},  {  905, 0x00000f41, 12},
  { -887, 0x00000f43, 12},  {  920, 0x00000f8c, 12},
  { -872, 0x00000f8e, 12},  {  904, 0x00000f8d, 12},
  { -888, 0x00000f8f, 12},  {  921, 0x00000f94, 12},
  { -871, 0x00000f96, 12},  {  903, 0x00000f95, 12},
  { -889, 0x00000f97, 12},  {  922, 0x00001f88, 13},
  { -870, 0x00001f8a, 13},  {  902, 0x00001f89, 13},
  { -890, 0x00001f8b, 13},  {  923, 0x00001f78, 13},
  { -869, 0x00001f7a, 13},  {  901, 0x00001f79, 13},
  { -891, 0x00001f7b, 13},  {  924, 0x00001fb4, 13},
  { -868, 0x00001fb6, 13},  {  900, 0x00001fb5, 13},
  { -892, 0x00001fb7, 13},  {  925, 0x00001fc4, 13},
  { -867, 0x00001fc6, 13},  {  899, 0x00001fc5, 13},
  { -893, 0x00001fc7, 13},  {  926, 0x00001fe4, 13},
  { -866, 0x00001fe6, 13},  {  898, 0x00001fe5, 13},
  { -894, 0x00001fe7, 13},  {  927, 0x00001ff0, 13},
  { -865, 0x00001ff2, 13},  {  897, 0x00001ff1, 13},
  { -895, 0x00001ff3, 13},  {  928, 0x0000064c, 11},
  { -864, 0x0000064e, 11},  {  896, 0x0000064d, 11},
  { -896, 0x0000064f, 11},  {  976, 0x00001ffa, 13},
  { -944, 0x00001ffb, 13},  {  977, 0x00000f70, 12},
  { -943, 0x00000f72, 12},  {  975, 0x00000f71, 12},
  { -945, 0x00000f73, 12},  {  978, 0x00000ed8, 12},
  { -942, 0x00000eda, 12},  {  974, 0x00000ed9, 12},
  { -946, 0x00000edb, 12},  {  979, 0x00000f1c, 12},
  { -941, 0x00000f1e, 12},  {  973, 0x00000f1d, 12},
  { -947, 0x00000f1f, 12},  {  980, 0x00000f30, 12},
  { -940, 0x00000f32, 12},  {  972, 0x00000f31, 12},
  { -948, 0x00000f33, 12},  {  981, 0x00000f2c, 12},
  { -939, 0x00000f2e, 12},  {  971, 0x00000f2d, 12},
  { -949, 0x00000f2f, 12},  {  982, 0x00000f64, 12},
  { -938, 0x00000f66, 12},  {  970, 0x00000f65, 12},
  { -950, 0x00000f67, 12},  {  983, 0x00000f68, 12},
  { -937, 0x00000f6a, 12},  {  969, 0x00000f69, 12},
  { -951, 0x00000f6b, 12},  {  984, 0x00001f4c, 13},
  { -936, 0x00001f4e, 13},  {  968, 0x00001f4d, 13},
  { -952, 0x00001f4f, 13},  {  985, 0x00001f84, 13},
  { -935, 0x00001f86, 13},  {  967, 0x00001f85, 13},
  { -953, 0x00001f87, 13},  {  986, 0x00001fb8, 13},
  { -934, 0x00001fba, 13},  {  966, 0x00001fb9, 13},
  { -954, 0x00001fbb, 13},  {  987, 0x00001fbc, 13},
  { -933, 0x00001fbe, 13},  {  965, 0x00001fbd, 13},
  { -955, 0x00001fbf, 13},  {  988, 0x00001fd4, 13},
  { -932, 0x00001fd6, 13},  {  964, 0x00001fd5, 13},
  { -956, 0x00001fd7, 13},  {  989, 0x00001fd8, 13},
  { -931, 0x00001fda, 13},  {  963, 0x00001fd9, 13},
  { -957, 0x00001fdb, 13},  {  990, 0x00003ff0, 14},
  { -930, 0x00003ff2, 14},  {  962, 0x00003ff1, 14},
  { -958, 0x00003ff3, 14},  {  991, 0x00003ffc, 14},
  { -929, 0x00003ffe, 14},  {  961, 0x00003ffd, 14},
  { -959, 0x00003fff, 14},  {  992, 0x00000674, 11},
  { -928, 0x00000676, 11},  {  960, 0x00000675, 11},
  { -960, 0x00000677, 11},  { 1040, 0x00000384, 10},
  {-1008, 0x00000385, 10},  { 1041, 0x000002d4, 10},
  {-1007, 0x000002d6, 10},  { 1039, 0x000002d5, 10},
  {-1009, 0x000002d7, 10},  { 1042, 0x00000284, 10},
  {-1006, 0x00000286, 10},  { 1038, 0x00000285, 10},
  {-1010, 0x00000287, 10},  { 1043, 0x00000258, 10},
  {-1005, 0x0000025a, 10},  { 1037, 0x00000259, 10},
  {-1011, 0x0000025b, 10},  { 1044, 0x0000025c, 10},
  {-1004, 0x0000025e, 10},  { 1036, 0x0000025d, 10},
  {-1012, 0x0000025f, 10},  { 1045, 0x00000254, 10},
  {-1003, 0x00000256, 10},  { 1035, 0x00000255, 10},
  {-1013, 0x00000257, 10},  { 1046, 0x00000264, 10},
  {-1002, 0x00000266, 10},  { 1034, 0x00000265, 10},
  {-1014, 0x00000267, 10},  { 1047, 0x00000280, 10},
  {-1001, 0x00000282, 10},  { 1033, 0x00000281, 10},
  {-1015, 0x00000283, 10},  { 1048, 0x00000288, 10},
  {-1000, 0x0000028a, 10},  { 1032, 0x00000289, 10},
  {-1016, 0x0000028b, 10},  { 1049, 0x000002b0, 10},
  { -999, 0x000002b2, 10},  { 1031, 0x000002b1, 10},
  {-1017, 0x000002b3, 10},  { 1050, 0x000002a4, 10},
  { -998, 0x000002a6, 10},  { 1030, 0x000002a5, 10},
  {-1018, 0x000002a7, 10},  { 1051, 0x000002c4, 10},
  { -997, 0x000002c6, 10},  { 1029, 0x000002c5, 10},
  {-1019, 0x000002c7, 10},  { 1052, 0x000002cc, 10},
  { -996, 0x000002ce, 10},  { 1028, 0x000002cd, 10},
  {-1020, 0x000002cf, 10},  { 1053, 0x000002ec, 10},
  { -995, 0x000002ee, 10},  { 1027, 0x000002ed, 10},
  {-1021, 0x000002ef, 10},  { 1054, 0x00000300, 10},
  { -994, 0x00000302, 10},  { 1026, 0x00000301, 10},
  {-1022, 0x00000303, 10},  { 1055, 0x0000063c, 11},
  { -993, 0x0000063e, 11},  { 1025, 0x0000063d, 11},
  {-1023, 0x0000063f, 11},  { 1056, 0x00000010,  7},
  { -992, 0x00000012,  7},  { 1024, 0x00000011,  7},
  {-1024, 0x00000013,  7}
};

IppsVLCTable_32s *vlcEncBooks[] = {
  sf_book, spec_book1, spec_book2,
  spec_book3, spec_book4, spec_book5,
  spec_book6, spec_book7, spec_book8,
  spec_book9, spec_book10, spec_book11
};

/****************************************************************************/

AACStatus BuildHuffmanTables(IppsVLCEncodeSpec_32s** pTables,
                             Ipp32s *sizeAll)
{
  Ipp32s i, mSize;
  Ipp32s size[12];

  mSize = 0;
  for (i = 0; i < 12; i++) {
    if (ippsVLCEncodeGetSize_32s(vlcEncBooks[i],
                                 vlcEncTableSizes[i],
                                 &size[i]) != ippStsOk) {
      return AAC_ALLOC;
    }
    mSize += size[i];
  }

  *sizeAll = mSize;

  if (pTables) {
    for (i = 1; i < 12; i++) {
      pTables[i] = (IppsVLCEncodeSpec_32s*)((Ipp8u*)pTables[i-1] + size[i-1]);
    }

    for (i = 0; i < 12; i++) {
      if (ippsVLCEncodeInit_32s(vlcEncBooks[i],
                                vlcEncTableSizes[i],
                                pTables[i]) != ippStsOk) {
        return AAC_ALLOC;
      }
    }
  }
  return AAC_OK;
}

/****************************************************************************/

#endif //UMC_ENABLE_XXX

